TTimo / GtkRadiant

The open source, cross platform level editor for idtech games
http://icculus.org/gtkradiant/
Other
586 stars 155 forks source link

Q3data: Fix warning incompatible pointer types passing #554

Closed Pan7 closed 7 years ago

Pan7 commented 7 years ago

tools/quake3/q3data/video.c:632:41: warning: incompatible pointer types passing 'unsigned int [2][2]' to parameter of type 'unsigned long ()[2]' [-Wincompatible-pointer-types] error = BTCQuantizeBlock( inBlock, endPoints, btcQuantizedBlock, -1 ); //bestError ); ^~~~~ tools/quake3/q3data/video.c:643:37: warning: incompatible pointer types passing 'unsigned int [2][2]' to parameter of type 'unsigned long ()[2]' [-Wincompatible-pointer-types] error = BTCQuantizeBlock( inBlock, bestEndPoints, btcQuantizedBlock, -1.0f ); ^~~~~

See https://github.com/TTimo/GtkRadiant/issues/467