User:Remark/dec-flipbook.c: Difference between revisions

Ludo6431 (talk | contribs)
mNo edit summary
No edit summary
 
Line 40: Line 40:
  
  
   int len = fsize(f);
   int len = fsize(f);
   char* buf = malloc(len);
   //char* buf = malloc(len);
  char* buf = (char*) malloc(len);
   if(!buf)
   if(!buf)
   {
   {