]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3data/video.c
tools: reduce diff noise
[xonotic/netradiant.git] / tools / quake3 / q3data / video.c
index 26b79a0f1454a99e31e28cd35d98e4bbf872a5e8..2fa7cee2ca14d2e6120389fe22149b9317273848 100644 (file)
@@ -1,5 +1,5 @@
 /*
-   Copyright (C) 1999-2006 Id Software, Inc. and contributors.
+   Copyright (C) 1999-2007 id Software, Inc. and contributors.
    For a list of contributors, see the accompanying CONTRIBUTORS file.
 
    This file is part of GtkRadiant.
@@ -128,7 +128,7 @@ void DumpChunks( void ){
                memcpy( str, data_p, 4 );
                data_p += 4;
                iff_chunk_len = GetLittleLong();
-               printf( "0x%x : %s (%d)\n", (int)( data_p - 4 ), str, iff_chunk_len );
+               printf( "%p : %s (%d)\n", (void *) ( data_p - 4 ), str, iff_chunk_len );
                data_p += ( iff_chunk_len + 1 ) & ~1;
        } while ( data_p < iff_end );
 }
@@ -596,11 +596,11 @@ static float BTCCompressBlock( float inBlock[4][4][3], unsigned long out[2] ){
        int i;
        int btcQuantizedBlock[4][4];    // values should be [0..3]
        unsigned long encodedEndPoints, encodedBitmap;
-       unsigned int endPoints[2][2];       // endPoints[0] = color start, endPoints[1] = color end
+       unsigned long endPoints[2][2];       // endPoints[0] = color start, endPoints[1] = color end
        int blockY, blockX;
        float error = 0;
        float bestError = 10000000000;
-       unsigned int bestEndPoints[2][2];
+       unsigned long bestEndPoints[2][2];
 
 #if 0
        //