misc/lempar.c
changeset 794 55bd6ae8be53
parent 717 4465cffe0a9f
child 834 f651801bfbbd
--- a/misc/lempar.c	Wed Aug 26 00:11:57 2009 -0400
+++ b/misc/lempar.c	Wed Aug 26 00:17:25 2009 -0400
@@ -273,9 +273,9 @@
 ** to Parse and ParseFree.
 */
 #if __MOJOSHADER__
-static void *ParseAlloc(void *(*mallocProc)(size_t,void *), void *malloc_data){
+static void *ParseAlloc(void *(*mallocProc)(int,void *), void *malloc_data){
   yyParser *pParser;
-  pParser = (yyParser*)(*mallocProc)( (size_t)sizeof(yyParser), malloc_data );
+  pParser = (yyParser*)(*mallocProc)( (int)sizeof(yyParser), malloc_data );
 #else
 void *ParseAlloc(void *(*mallocProc)(size_t)){
   yyParser *pParser;