The great 'long int' purge of 2023 part 1
At one time, Synchronet was a 16-bit DOS project, plagued by the 16-bit [u]int, so long's were used everywhere > 16-bits were known to be needed/wanted (This is before the days of the standard sized types from stdint.h), and they've persisted. But '[u]long int' is 64-bits on *nix 64-bit builds, 32-bits everywhere else (even 64-bit Windows builds if/when we ever get around to that), so this could lead to insidious bugs that would only show up on one flavor or the other. Since [u]int is 32-bits on everything we currently support, we'll use that instead of [u]long. This "part 1" because I'm sure there's going to be warnings and errors from the GCC/Clang builds as a result, which I'll get to next.
parent
737989d7
No related branches found
No related tags found
Showing
- src/sbbs3/atcodes.cpp 24 additions, 24 deletionssrc/sbbs3/atcodes.cpp
- src/sbbs3/cmdshell.h 2 additions, 19 deletionssrc/sbbs3/cmdshell.h
- src/sbbs3/con_hi.cpp 4 additions, 19 deletionssrc/sbbs3/con_hi.cpp
- src/sbbs3/con_out.cpp 23 additions, 23 deletionssrc/sbbs3/con_out.cpp
- src/sbbs3/data.cpp 6 additions, 6 deletionssrc/sbbs3/data.cpp
- src/sbbs3/email.cpp 5 additions, 5 deletionssrc/sbbs3/email.cpp
- src/sbbs3/exec.cpp 9 additions, 9 deletionssrc/sbbs3/exec.cpp
- src/sbbs3/execfile.cpp 1 addition, 1 deletionsrc/sbbs3/execfile.cpp
- src/sbbs3/execmsg.cpp 1 addition, 1 deletionsrc/sbbs3/execmsg.cpp
- src/sbbs3/file.cpp 2 additions, 2 deletionssrc/sbbs3/file.cpp
- src/sbbs3/getkey.cpp 9 additions, 23 deletionssrc/sbbs3/getkey.cpp
- src/sbbs3/getmsg.cpp 9 additions, 9 deletionssrc/sbbs3/getmsg.cpp
- src/sbbs3/getstr.cpp 7 additions, 7 deletionssrc/sbbs3/getstr.cpp
- src/sbbs3/inkey.cpp 14 additions, 14 deletionssrc/sbbs3/inkey.cpp
- src/sbbs3/js_bbs.cpp 1 addition, 1 deletionsrc/sbbs3/js_bbs.cpp
- src/sbbs3/listfile.cpp 9 additions, 9 deletionssrc/sbbs3/listfile.cpp
- src/sbbs3/logfile.cpp 1 addition, 1 deletionsrc/sbbs3/logfile.cpp
- src/sbbs3/logon.cpp 3 additions, 3 deletionssrc/sbbs3/logon.cpp
- src/sbbs3/mail.cpp 3 additions, 17 deletionssrc/sbbs3/mail.cpp
- src/sbbs3/main.cpp 39 additions, 39 deletionssrc/sbbs3/main.cpp
Loading
Please register or sign in to comment