Skip to content
Snippets Groups Projects
Commit a6f95bde authored by rswindell's avatar rswindell
Browse files

Fixed gcc -Wall warnings.

parent 6cbf6f65
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ int DLLCALL getmail(scfg_t* cfg, int usernumber, BOOL sent)
smb.retry_time=cfg->smb_retry_time;
sprintf(str,"%s.sid",smb.file);
l=flength(str);
if(l<sizeof(idxrec_t))
if(l<(long)sizeof(idxrec_t))
return(0);
if(!usernumber)
return(l/sizeof(idxrec_t)); /* Total system e-mail */
......
......@@ -59,6 +59,7 @@
#include "genwrap.h" /* stricmp */
#include "dirwrap.h" /* fexist */
#include "conwrap.h" /* getch */
#include "filewrap.h"
#include "smblib.h"
#include "crc32.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment