InputPlugin: remove typedef offset_type

Has been moved to class InputStream long ago.
This commit is contained in:
Max Kellermann 2014-08-19 21:22:23 +02:00
parent d079cda174
commit dfa53cb88e
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -61,8 +61,6 @@ struct InputPlugin {
UNAVAILABLE, UNAVAILABLE,
}; };
typedef int64_t offset_type;
const char *name; const char *name;
/** /**