Guest User

meta4.3_int_gcc4.3.2.cpp.patch

a guest
Mar 27th, 2013
22
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- meta4.3_int_gcc4.3.2.cpp.old    2013-03-27 13:09:41.000000000 +0100
  2. +++ meta4.3_int_gcc4.3.2.cpp    2013-03-27 17:45:31.652280858 +0100
  3. @@ -1218,7 +1218,7 @@
  4.   char tx[TXT];
  5.   int rs=0, a=0;
  6.  
  7. - do{ if((int)fgets(tx, TXT-1, fp_in)==EOF) {printf("\"-CAT\" not found.\nProgram prematurly finished. Please press ENTER key "); getch(); exit(1);}
  8. + do{ if((long)fgets(tx, TXT-1, fp_in)==EOF) {printf("\"-CAT\" not found.\nProgram prematurly finished. Please press ENTER key "); getch(); exit(1);}
  9.   }while(strcmp(tx, "-CAT\n"));
  10.  
  11.   tx[0]='.';
RAW Paste Data