[xiph-commits] r12207 - experimental/giles/mng

giles at svn.xiph.org giles at svn.xiph.org
Mon Dec 11 14:36:36 PST 2006


Author: giles
Date: 2006-12-11 14:36:35 -0800 (Mon, 11 Dec 2006)
New Revision: 12207

Modified:
   experimental/giles/mng/mngplay.c
Log:
Correct prototypes for the alloc and free callbacks (size_t, not int32).


Modified: experimental/giles/mng/mngplay.c
===================================================================
--- experimental/giles/mng/mngplay.c	2006-12-11 22:30:41 UTC (rev 12206)
+++ experimental/giles/mng/mngplay.c	2006-12-11 22:36:35 UTC (rev 12207)
@@ -51,13 +51,13 @@
 /* callbacks for the mng decoder */
 
 /* memory allocation; data must be zeroed */
-mng_ptr mymngalloc(mng_uint32 size)
+mng_ptr mymngalloc(mng_size_t size)
 {
 	return (mng_ptr)calloc(1, size);
 }
 
 /* memory deallocation */
-void mymngfree(mng_ptr p, mng_uint32 size)
+void mymngfree(mng_ptr p, mng_size_t size)
 {
 	free(p);
 	return;



More information about the commits mailing list