Fixup zlib_file_size early return

This commit is contained in:
twinaphex 2015-01-09 16:57:04 +01:00
parent 8f511815d1
commit f52579019a

View File

@ -147,7 +147,7 @@ static size_t zlib_file_size(void *handle)
{ {
zlib_file_data_t *data = (zlib_file_data_t*)handle; zlib_file_data_t *data = (zlib_file_data_t*)handle;
if (!data) if (!data)
return NULL; return 0;
return data->size; return data->size;
} }