1 #include <stdio.h> 2 3 void * mymalloc(size_t gnu)4mymalloc(size_t gnu) { 5 printf("received %lu\n", (unsigned long)gnu); 6 return NULL; 7 } 8 9 int main()10main() { 11 char *p; 12 long long filesize = 163633; 13 14 /* 15 * 08/07/09: VERY basic long long bug! I'm shocked and appalled! 16 * The argument isn't passed correctly. (This bombed in Python 17 * if anyone cares) 18 */ 19 p = mymalloc((filesize) ? (filesize) : 1); 20 return 0; 21 } 22 23