diff options
author | Max Kellermann <max@duempel.org> | 2013-10-17 09:43:55 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-17 10:45:10 +0200 |
commit | 05de2e998c7df2757ae63ce6a053e27eca3d13ca (patch) | |
tree | 2c85c43cb69dc2dc7086bfddc66090928cd0d93f /src/archive | |
parent | 24780d99e61af44141e8f0d0d0776a1c994e6770 (diff) | |
download | mpd-05de2e998c7df2757ae63ce6a053e27eca3d13ca.tar.gz mpd-05de2e998c7df2757ae63ce6a053e27eca3d13ca.tar.xz mpd-05de2e998c7df2757ae63ce6a053e27eca3d13ca.zip |
InputStream: use int64_t instead of goffset
Decouple some more from GLib.
Diffstat (limited to 'src/archive')
-rw-r--r-- | src/archive/ZzipArchivePlugin.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/archive/ZzipArchivePlugin.cxx b/src/archive/ZzipArchivePlugin.cxx index ebac331b5..35730d078 100644 --- a/src/archive/ZzipArchivePlugin.cxx +++ b/src/archive/ZzipArchivePlugin.cxx @@ -178,12 +178,12 @@ zzip_input_eof(struct input_stream *is) { ZzipInputStream *zis = (ZzipInputStream *)is; - return (goffset)zzip_tell(zis->file) == is->size; + return (InputPlugin::offset_type)zzip_tell(zis->file) == is->size; } static bool -zzip_input_seek(struct input_stream *is, - goffset offset, int whence, Error &error) +zzip_input_seek(struct input_stream *is, InputPlugin::offset_type offset, + int whence, Error &error) { ZzipInputStream *zis = (ZzipInputStream *)is; zzip_off_t ofs = zzip_seek(zis->file, offset, whence); |