fix warning: comparison between signed and unsigned integer expressions

This commit is contained in:
Garux
2020-01-24 02:47:33 +03:00
parent 93eb360104
commit a258ebf887

View File

@@ -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] );
}