diff options
author | Stefan Weil <weil@mail.berlios.de> | 2009-06-09 23:36:03 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-13 19:19:25 -0500 |
commit | f3054bf97c17557b72a09e51891c794669adfe51 (patch) | |
tree | 501c1f8cb505b66279a25bafa4a6c2933208fe75 | |
parent | 42bc4e21ea2833ce91f7ad62279e5add7a0bfa1a (diff) | |
download | qemu-f3054bf97c17557b72a09e51891c794669adfe51.tar.gz qemu-f3054bf97c17557b72a09e51891c794669adfe51.tar.bz2 qemu-f3054bf97c17557b72a09e51891c794669adfe51.zip |
Fix prototype of function zfree.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | loader.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -382,7 +382,7 @@ static void *zalloc(void *x, unsigned items, unsigned size) return (p); } -static void zfree(void *x, void *addr, unsigned nb) +static void zfree(void *x, void *addr) { qemu_free(addr); } @@ -430,7 +430,7 @@ static ssize_t gunzip(void *dst, size_t dstlen, uint8_t *src, } s.zalloc = zalloc; - s.zfree = (free_func)zfree; + s.zfree = zfree; r = inflateInit2(&s, -MAX_WBITS); if (r != Z_OK) { |