InputPlugin: remove typedef offset_type
Has been moved to class InputStream long ago.
This commit is contained in:
parent
d079cda174
commit
dfa53cb88e
@ -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
|
||||
|
@ -61,8 +61,6 @@ struct InputPlugin {
|
||||
UNAVAILABLE,
|
||||
};
|
||||
|
||||
typedef int64_t offset_type;
|
||||
|
||||
const char *name;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user