Fix crash on Clang
This was SVN commit r11269.
This commit is contained in:
parent
e73cae7507
commit
98c8a47192
@ -505,7 +505,7 @@ void SetCameraTarget(void* UNUSED(cbdata), float x, float y, float z)
|
||||
int Crash(void* UNUSED(cbdata))
|
||||
{
|
||||
debug_printf(L"Crashing at user's request.\n");
|
||||
return *(int*)0;
|
||||
return *(volatile int*)0;
|
||||
}
|
||||
|
||||
void DebugWarn(void* UNUSED(cbdata))
|
||||
|
Loading…
Reference in New Issue
Block a user