fix incorrect type in message loading

zlib has changed 
typedef voidp gzFile;
to 
typedef struct gzFile_s *gzFile;

historically the gzFile *fp has efectively expanded to void**fp
The compiler considerd void ** to be identical to void* as void cannot 
be dereferenced and compilation suceeded. 
With a concrete type it does not work.


svn path=/trunk/netsurf/; revision=13517
This commit is contained in:
Vincent Sanders 2012-03-14 16:42:02 +00:00
parent 2e65e51fc5
commit c0b0dbd373
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ static struct hash_table *messages_hash = NULL;
struct hash_table *messages_load_ctx(const char *path, struct hash_table *ctx)
{
char s[400];
gzFile *fp;
gzFile fp;
assert(path != NULL);