From aedc975d9e6293f6ee69dadc8045288a23532043 Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Thu, 3 Jun 2004 22:38:24 +0000 Subject: [PATCH] return uncompressed size --- second/uncompress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/second/uncompress.c b/second/uncompress.c index a6049a3..151ee90 100644 --- a/second/uncompress.c +++ b/second/uncompress.c @@ -89,5 +89,5 @@ unsigned long uncompress(char* buf, char* image) printf("Uncompressing kernel to %p", buf); gunzip(); - return (unsigned long)output_data - (unsigned long)buf; + return output_ptr; }