Cast away warning in gcc

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6231 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2021-08-20 12:22:44 +00:00
parent 84b1fa30f0
commit e98b3bed57

@ -280,7 +280,7 @@ bool CGLXManager::initialize(const SIrrlichtCreationParameters& params, const SE
void CGLXManager::terminate() void CGLXManager::terminate()
{ {
memset(&CurrentContext, 0, sizeof(CurrentContext)); memset((void*)&CurrentContext, 0, sizeof(CurrentContext));
} }
bool CGLXManager::generateSurface() bool CGLXManager::generateSurface()