[comp.lang.c] Problem with cc on Cray

Dave.Harris@f14.n15.z1.fidonet.org (Dave Harris) (06/20/91)

 >   ...
 >   int i, li, cnt, flag, mightbe;
 >   FILE *fv1, *fv2;
 >   char c, e;
            ^^^
Try making this an int.  I suspect that one of the compilers treats a char 
without any modifiers as unsigned and the other compiler treats it as signed.  
 

Dave Harris. 


 

--  
Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!15!14!Dave.Harris
Internet: Dave.Harris@f14.n15.z1.fidonet.org