* Fix some new GCC 4.3 warnings
* Fix many many strict aliasing warnings, now that it's re-enabled
This commit is contained in:
1 parent
7c19978aaa
commit
72dea0a184
19 files changed
+220
-152
No files matched your search
+8
-1
@@ -5239,9 +5239,16 @@ qboolean MenuParse_name( itemDef_t *item, int handle ) {
|
||||
|
||||
qboolean MenuParse_fullscreen( itemDef_t *item, int handle ) {
|
||||
menuDef_t *menu = (menuDef_t*)item;
|
||||
if (!PC_Int_Parse(handle, (int*) &menu->fullScreen)) {
|
||||
union
|
||||
{
|
||||
qboolean b;
|
||||
int i;
|
||||
} fullScreen;
|
||||
|
||||
if (!PC_Int_Parse(handle, &fullScreen.i)) {
|
||||
return qfalse;
|
||||
}
|
||||
menu->fullScreen = fullScreen.b;
|
||||
return qtrue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user