fix strict aliasing issues

Patch by Przemysław Iskra (#3805)
This commit is contained in:
Ludwig Nussel committed 2008-11-03 17:03:54 +00:00
1 parent f86f8e8ed8
commit c754d6fdfb
15 files changed
+91 -108

No files matched your search

+3 -8
View File
@@ -288,14 +288,9 @@ void SV_GetUsercmd( int clientNum, usercmd_t *cmd ) {
//==============================================
static int FloatAsInt( float f ) {
union
{
int i;
float f;
} temp;
temp.f = f;
return temp.i;
floatint_t fi;
fi.f = f;
return fi.i;
}
/*