Commit dfa53cb8 authored by Max Kellermann's avatar Max Kellermann

InputPlugin: remove typedef offset_type

Has been moved to class InputStream long ago.
parent d079cda1
...@@ -161,7 +161,7 @@ ZzipInputStream::Read(void *ptr, size_t read_size, Error &error) ...@@ -161,7 +161,7 @@ ZzipInputStream::Read(void *ptr, size_t read_size, Error &error)
bool bool
ZzipInputStream::IsEOF() ZzipInputStream::IsEOF()
{ {
return (InputPlugin::offset_type)zzip_tell(file) == size; return offset_type(zzip_tell(file)) == size;
} }
bool bool
......
...@@ -61,8 +61,6 @@ struct InputPlugin { ...@@ -61,8 +61,6 @@ struct InputPlugin {
UNAVAILABLE, UNAVAILABLE,
}; };
typedef int64_t offset_type;
const char *name; const char *name;
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment