diff options
author | Florent Villard <warly@mandriva.com> | 2003-09-05 16:36:52 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2003-09-05 16:36:52 +0000 |
commit | 9816d2833ef67f53e3ad75ce5464f1056eb92634 (patch) | |
tree | b36c28adcd770dbf199eb07d49439c44606c64cc /fbmngplay | |
parent | e09c2acf70224a1c3a10a751dbb8b984448559eb (diff) | |
download | bootsplash-9816d2833ef67f53e3ad75ce5464f1056eb92634.tar bootsplash-9816d2833ef67f53e3ad75ce5464f1056eb92634.tar.gz bootsplash-9816d2833ef67f53e3ad75ce5464f1056eb92634.tar.bz2 bootsplash-9816d2833ef67f53e3ad75ce5464f1056eb92634.tar.xz bootsplash-9816d2833ef67f53e3ad75ce5464f1056eb92634.zip |
Apply 64bit patches from gb
Diffstat (limited to 'fbmngplay')
-rw-r--r-- | fbmngplay/mng.c | 4 | ||||
-rw-r--r-- | fbmngplay/mng.h | 4 |
2 files changed, 4 insertions, 4 deletions
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); |