From f52579019a04630fcff10ca826349e3b8b72561e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 9 Jan 2015 16:57:04 +0100 Subject: [PATCH] Fixup zlib_file_size early return --- file_extract.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file_extract.c b/file_extract.c index 224c0980d8..cc540c6b67 100644 --- a/file_extract.c +++ b/file_extract.c @@ -147,7 +147,7 @@ static size_t zlib_file_size(void *handle) { zlib_file_data_t *data = (zlib_file_data_t*)handle; if (!data) - return NULL; + return 0; return data->size; }