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:
parent
2e65e51fc5
commit
c0b0dbd373
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue