--- sentinel.c.orig	Sun Sep 12 21:44:25 1999
+++ sentinel.c	Tue Sep 28 16:45:46 1999
@@ -326,7 +326,7 @@
 logfilebakp=fopen(logfilesig,"wb");
 calculatermd (logfile, logfilebakp);
 fclose(logfilebakp);
-while (thru != EOF)
+while (thru != (char) EOF)
 {thru=fgetc(filelistp);
 fputc(thru, filelistbakp);}
 fclose(filelistbakp);
@@ -335,7 +335,7 @@
 filelistbakp=fopen(filelistbak,"rb");
 addfiletofilelistp(singlefile);
 thru='A';
-while (thru != EOF)
+while (thru != (char) EOF)
 {thru=fgetc(filelistbakp);
 fputc(thru, filelistp);}
 fclose(filelistp);
@@ -372,7 +372,7 @@
 /* parse the database, Calculate and check the file sig on disk, Check the mode etc and if anything is wrong open the
 logfile and dump the errors+stdout..but dont quit. Uses comparefiles(tmp,tmpx); */
 /* not very efficient but reliable */
-while (si != EOF)
+while (si != (char) EOF)
 {si=getc(filelistp); 
 /* start */
 
@@ -408,9 +408,9 @@
 lstat(ptrtostring, statbp);
 
 tmpp=fopen(tmp,"rb");xci='A';flagi=0;xi=0;
-while(xci != EOF)
+while(xci != (char) EOF)
 {xci=getc(tmpp);
-if (xci != EOF){if(shortstring1[xi] != xci){flagi++;flagx=1;}}xi++;}
+if (xci != (char) EOF){if(shortstring1[xi] != xci){flagi++;flagx=1;}}xi++;}
 fclose(tmpp);
 if (flagi != 0)
 {time(&timevaluestruct);if (nocheckflag != 1){
@@ -513,7 +513,7 @@
 /* parse the database, Calculate and check the file sig on disk, Check the mode etc and if anything is wrong open the
 logfile and dump the errors+stdout..but dont quit. Uses comparefiles(tmp,tmpx); */
 /* not very efficient but reliable */
-while (si != EOF)
+while (si != (char) EOF)
 {si=getc(filelistp); 
 /* start */
 
@@ -565,7 +565,7 @@
 si='a';
 filelistp=fopen(filelist,"wb");
 filelistbakp=fopen(filelistbak,"rb");
-while (si != EOF)
+while (si != (char) EOF)
 {si=getc(filelistbakp);
 fputc(si,filelistp);}
 fclose(filelistp);
