aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/archive/plugins/ZzipArchivePlugin.cxx2
-rw-r--r--src/input/InputPlugin.hxx2
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;
/**