From 9816d2833ef67f53e3ad75ce5464f1056eb92634 Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Fri, 5 Sep 2003 16:36:52 +0000 Subject: Apply 64bit patches from gb --- fbmngplay/mng.c | 4 ++-- fbmngplay/mng.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'fbmngplay') diff --git a/fbmngplay/mng.c b/fbmngplay/mng.c index 9728975..d899bd0 100644 --- a/fbmngplay/mng.c +++ b/fbmngplay/mng.c @@ -26,13 +26,13 @@ unsigned long bufferpos = 0, buffersize = 0; */ /* memory allocation; data must be zeroed */ -mng_ptr mngalloc(mng_uint32 size) +mng_ptr mngalloc(mng_size_t size) { return (mng_ptr) calloc(1, size); } /* memory deallocation */ -void mngfree(mng_ptr p, mng_uint32 size) +void mngfree(mng_ptr p, mng_size_t size) { free(p); return; diff --git a/fbmngplay/mng.h b/fbmngplay/mng.h index bbe8af2..db19b0a 100644 --- a/fbmngplay/mng.h +++ b/fbmngplay/mng.h @@ -17,8 +17,8 @@ extern mngstuff *mng; -mng_ptr mngalloc(mng_uint32 size); -void mngfree(mng_ptr p, mng_uint32 size); +mng_ptr mngalloc(mng_size_t size); +void mngfree(mng_ptr p, mng_size_t size); mng_bool mngopenstream(mng_handle mng); mng_bool mngclosestream(mng_handle mng); mng_bool mngreadstream( mng_handle mng, mng_ptr buffer, mng_uint32 size, mng_uint32 * bytesread); -- cgit v1.2.1