diff options
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); |