[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Fix prototype of function zfree.
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH] Fix prototype of function zfree. |
Date: |
Sun, 24 May 2009 22:55:36 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
Signed-off-by: Stefan Weil <address@hidden>
---
loader.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/loader.c b/loader.c
index 5232ee1..9350c54 100644
--- a/loader.c
+++ b/loader.c
@@ -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) {
--
1.5.6.5
- [Qemu-devel] [PATCH] Fix prototype of function zfree.,
Stefan Weil <=