Revision d084eab6 loader.c
b/loader.c | ||
---|---|---|
382 | 382 |
return (p); |
383 | 383 |
} |
384 | 384 |
|
385 |
static void zfree(void *x, void *addr, unsigned nb)
|
|
385 |
static void zfree(void *x, void *addr) |
|
386 | 386 |
{ |
387 | 387 |
qemu_free(addr); |
388 | 388 |
} |
... | ... | |
430 | 430 |
} |
431 | 431 |
|
432 | 432 |
s.zalloc = zalloc; |
433 |
s.zfree = (free_func)zfree;
|
|
433 |
s.zfree = zfree; |
|
434 | 434 |
|
435 | 435 |
r = inflateInit2(&s, -MAX_WBITS); |
436 | 436 |
if (r != Z_OK) { |
Also available in: Unified diff