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:
parent
d086001911
commit
c4751d50ec
5 changed files with 10 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue