diff options
author | Max Kellermann <max@duempel.org> | 2014-08-19 22:39:44 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-19 22:39:44 +0200 |
commit | e2adb82e29940c4fc784cef21e6cd1ae389e7a2e (patch) | |
tree | 38422743bdb2ae60455bddb3e8d0e7d2c88f721b /src/decoder/plugins/DsdLib.cxx | |
parent | bb472206dee0adcff09b2efccfb5795101b45705 (diff) | |
download | mpd-e2adb82e29940c4fc784cef21e6cd1ae389e7a2e.tar.gz mpd-e2adb82e29940c4fc784cef21e6cd1ae389e7a2e.tar.xz mpd-e2adb82e29940c4fc784cef21e6cd1ae389e7a2e.zip |
decoder/DsdLib: use offset_type instead of uint64_t
Diffstat (limited to 'src/decoder/plugins/DsdLib.cxx')
-rw-r--r-- | src/decoder/plugins/DsdLib.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/decoder/plugins/DsdLib.cxx b/src/decoder/plugins/DsdLib.cxx index 2f873bac9..d7eb5f7a3 100644 --- a/src/decoder/plugins/DsdLib.cxx +++ b/src/decoder/plugins/DsdLib.cxx @@ -50,12 +50,12 @@ DsdId::Equals(const char *s) const */ bool dsdlib_skip_to(Decoder *decoder, InputStream &is, - uint64_t offset) + offset_type offset) { if (is.IsSeekable()) return is.Seek(offset, IgnoreError()); - if (uint64_t(is.GetOffset()) > offset) + if (is.GetOffset() > offset) return false; return dsdlib_skip(decoder, is, offset - is.GetOffset()); @@ -66,7 +66,7 @@ dsdlib_skip_to(Decoder *decoder, InputStream &is, */ bool dsdlib_skip(Decoder *decoder, InputStream &is, - uint64_t delta) + offset_type delta) { if (delta == 0) return true; |