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:
parent
257834e501
commit
0fad8877fd
4 changed files with 33 additions and 21 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", (unsigned int)NFDBITS);
|
||||
fprintf(outfile, "#define NFDBITS %d\n", 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