From dfa53cb88e0e4a102eafb73d147c03f7a73c51c9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 19 Aug 2014 21:22:23 +0200 Subject: [PATCH] InputPlugin: remove typedef offset_type Has been moved to class InputStream long ago. --- src/archive/plugins/ZzipArchivePlugin.cxx | 2 +- src/input/InputPlugin.hxx | 2 -- 2 files changed, 1 insertion(+), 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; /**