From c0b0dbd373b3aaf6fa48594f05c5752be9519fbb Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 14 Mar 2012 16:42:02 +0000 Subject: 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 --- utils/messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/messages.c b/utils/messages.c index 6ad17c3dd..5b62912a6 100644 --- a/utils/messages.c +++ b/utils/messages.c @@ -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); -- cgit v1.2.3