[quake3] -Werror patch

Ian Kumlien pomac at vapor.com
Tue Sep 6 06:40:45 EDT 2005


On Tue, 2005-09-06 at 19:47 +1000, Jamie Wilkinson wrote:
> If you add -Werror to the CFLAGS, only one showstopper appears with GCC 3.3
> on Ubuntu.
> 
> This patch changes the format arg to an int from a longint, given that the
> argument is passed in as an int and the other operand is cast to int *, this
> seems reasonable.

Sorry but it's not, since now you broke it for all 64 bit machines...
It's also kinda strange, since a long is the same size as a int on a 32
bit machine. Anyways, Here is a fix.

-- 
Ian Kumlien <pomac () vapor ! com> -- http://pomac.netswarm.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: q3-32vs64bit-fix.diff
Type: text/x-patch
Size: 1171 bytes
Desc: not available
URL: <http://icculus.org/pipermail/quake3/attachments/20050906/c71b2404/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://icculus.org/pipermail/quake3/attachments/20050906/c71b2404/attachment.pgp>


More information about the quake3 mailing list