fix warning: comparison between signed and unsigned integer expressions
This commit is contained in:
@@ -61,9 +61,7 @@ typedef struct {
|
||||
|
||||
|
||||
static void ByteSwapTri( tf_triangle *tri ){
|
||||
int i;
|
||||
|
||||
for ( i = 0 ; i < sizeof( tf_triangle ) / 4 ; i++ )
|
||||
for ( size_t i = 0 ; i < sizeof( tf_triangle ) / 4 ; i++ )
|
||||
{
|
||||
( (int *)tri )[i] = BigLong( ( (int *)tri )[i] );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user