Commit ad0fd2f
committed
Add explicit void* casts for function pointers in FunctionLexicon tables
MinGW-w64 (GCC) does not allow implicit conversion from function pointers
to void*. Added explicit (void*) casts to all function pointer entries in
the FunctionLexicon lookup tables for both Generals and GeneralsMD.
This follows the same approach used in PR TheSuperHackers#547 for MinGW compatibility
while maintaining VC6 compatibility with minimal code changes.1 parent f01bdc4 commit ad0fd2f
2 files changed
Lines changed: 496 additions & 496 deletions
File tree
- GeneralsMD/Code/GameEngine/Source/Common/System
- Generals/Code/GameEngine/Source/Common/System
0 commit comments