1
0
forked from mirrors/0ad

Fix crash on Clang

This was SVN commit r11269.
This commit is contained in:
Ykkrosh
2012-03-07 20:40:38 +00:00
parent e73cae7507
commit 98c8a47192
+1 -1
View File
@@ -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))