GarageGames / Torque2D

MIT Licensed Open Source version of Torque 2D game engine from GarageGames
MIT License
1.67k stars 1.56k forks source link

More dStrstr usage fixes #407

Closed dottools closed 6 years ago

dottools commented 6 years ago

More dStrstr usage fixes Overall a few compiler error fixes for compilers that are more strict. And removed unnecessary const casting of the second argument as its always const now in dStrstr prototype to conform to stdlib's strstr since PR #405

Note that I'm intentionally being hypocritical here for not changing OpenGL extension checks code that does the unnecessary second argument const casting, but figured those don't really cause any harm it is consistent across all platforms' OpenGL initialization code and doesn't generate any compiler warnings.