fix gcc 4.2 warnings about cast from pointer to integer (#3317)
This commit is contained in:
1 parent
686d365397
commit
3992f1a59c
5 files changed
+7
-7
No files matched your search
@@ -1084,7 +1084,7 @@ void R_Init( void ) {
|
||||
|
||||
// Swap_Init();
|
||||
|
||||
if ( (int)tess.xyz & 15 ) {
|
||||
if ( (intptr_t)tess.xyz & 15 ) {
|
||||
Com_Printf( "WARNING: tess.xyz not 16 byte aligned\n" );
|
||||
}
|
||||
Com_Memset( tess.constantColor255, 255, sizeof( tess.constantColor255 ) );
|
||||
|
||||
Reference in new issue
Block a user