- format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’
use ‘%ld’ instead
printf( " num tags: %d\n", header.numTags );
printf( " num surfaces: %d\n", header.numSurfaces );
printf( " num skins: %d\n", header.numSkins );
- printf( " file size: %d\n", fileSize );
+ printf( " file size: %ld\n", fileSize );
printf( "--- TAGS ---\n" );
pTag = ( md3Tag_t * ) ( ( ( char * ) buffer ) + header.ofsTags );
printf( "\n" );
- printf( "Total size: %i\n", ftell( output ) );
+ printf( "Total size: %ld\n", ftell( output ) );
printf( "Average error: %f\n", sumError / ( frame - startframe ) );
printf( "Max error: %f\n", maxError );