Merge pull request #554 from Pan7/fixq3data5

Q3data: Fix warning incompatible pointer types passing
This commit is contained in:
Pan7 2017-08-18 12:07:06 +02:00 committed by GitHub
commit 93ec80ed9a

View file

@ -596,11 +596,11 @@ static float BTCCompressBlock( float inBlock[4][4][3], unsigned long out[2] ){
int i; int i;
int btcQuantizedBlock[4][4]; // values should be [0..3] int btcQuantizedBlock[4][4]; // values should be [0..3]
unsigned long encodedEndPoints, encodedBitmap; 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; int blockY, blockX;
float error = 0; float error = 0;
float bestError = 10000000000; float bestError = 10000000000;
unsigned int bestEndPoints[2][2]; unsigned long bestEndPoints[2][2];
#if 0 #if 0
// //