1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-08 13:36:32 +00:00

Changed some variable definitions to make gcc -O2 aliasing checker happy

This commit is contained in:
Gerhard Rieger 2014-02-08 13:38:16 +01:00
parent 257834e501
commit 0fad8877fd
4 changed files with 33 additions and 21 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", (unsigned int)NFDBITS);
fprintf(outfile, "#define NFDBITS %d\n", NFDBITS);
#endif
#ifdef O_RDONLY
fprintf(outfile, "#define O_RDONLY %u\n", O_RDONLY);