qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Fix prototype of function zfree.
@ 2009-05-24 20:55 Stefan Weil
  2009-05-27 19:24 ` Stefan Weil
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2009-05-24 20:55 UTC (permalink / raw)
  To: QEMU Developers


Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-27 19:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-24 20:55 [Qemu-devel] [PATCH] Fix prototype of function zfree Stefan Weil
2009-05-27 19:24 ` Stefan Weil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).