1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-11 22:23:24 +00:00

corrected a few mistakes that caused compiler warnings on 64bit hosts

This commit is contained in:
Gerhard Rieger 2008-05-22 20:09:48 +02:00
parent d086001911
commit c4751d50ec
5 changed files with 10 additions and 8 deletions

View file

@ -20,7 +20,7 @@ int procan_cdefs(FILE *outfile) {
fprintf(outfile, "#define FD_SETSIZE %u\n", FD_SETSIZE);
#endif
#ifdef NFDBITS
fprintf(outfile, "#define NFDBITS %u\n", NFDBITS);
fprintf(outfile, "#define NFDBITS %u\n", (unsigned int)NFDBITS);
#endif
#ifdef O_RDONLY
fprintf(outfile, "#define O_RDONLY %u\n", O_RDONLY);