diff options
author | Max Kellermann <max@duempel.org> | 2014-08-19 21:22:23 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-19 21:22:23 +0200 |
commit | dfa53cb88e0e4a102eafb73d147c03f7a73c51c9 (patch) | |
tree | a80a8c25422f3fad476112e85c9ff639e707d8ea /src | |
parent | d079cda1746a30ad9708e33ec69beb69412aa9d9 (diff) | |
download | mpd-dfa53cb88e0e4a102eafb73d147c03f7a73c51c9.tar.gz mpd-dfa53cb88e0e4a102eafb73d147c03f7a73c51c9.tar.xz mpd-dfa53cb88e0e4a102eafb73d147c03f7a73c51c9.zip |
InputPlugin: remove typedef offset_type
Has been moved to class InputStream long ago.
Diffstat (limited to '')
-rw-r--r-- | src/archive/plugins/ZzipArchivePlugin.cxx | 2 | ||||
-rw-r--r-- | src/input/InputPlugin.hxx | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/archive/plugins/ZzipArchivePlugin.cxx b/src/archive/plugins/ZzipArchivePlugin.cxx index 396055c71..b4dc7029f 100644 --- a/src/archive/plugins/ZzipArchivePlugin.cxx +++ b/src/archive/plugins/ZzipArchivePlugin.cxx @@ -161,7 +161,7 @@ ZzipInputStream::Read(void *ptr, size_t read_size, Error &error) bool ZzipInputStream::IsEOF() { - return (InputPlugin::offset_type)zzip_tell(file) == size; + return offset_type(zzip_tell(file)) == size; } bool diff --git a/src/input/InputPlugin.hxx b/src/input/InputPlugin.hxx index 1bdf44b77..c2adb419c 100644 --- a/src/input/InputPlugin.hxx +++ b/src/input/InputPlugin.hxx @@ -61,8 +61,6 @@ struct InputPlugin { UNAVAILABLE, }; - typedef int64_t offset_type; - const char *name; /** |