int highmask;
#endif
-void usage();
+void usage();
line8 = (unsigned char*)safealloc(cols);
for (i=0; i< cols; i++)
- *(line8+i)=ENDIAN8(*(line+i));
+ *(line8+i)=(unsigned char)ENDIAN8(*(line+i));
fwrite(line8, sizeof(unsigned char), cols, outfile);
int pos; /* position in the file, after the header */
for (i=0;i<MAX_COMPONENTS;i++) {
- c_outfilename[i]=malloc(strlen(OUTFILE)+20);
+ c_outfilename[i]=(char*)malloc(strlen(OUTFILE)+20);
sprintf(c_outfilename[i],"%s%d.out",OUTFILE,i+1);
}