Bug 2348 - Pass proper types to SWAP_DRAW_SURF and get rid of unused variables
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: 1.32b
Hardware: PC Linux
: P2 trivial
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2005-08-28 05:07 EDT by Tobias Heinemann
Modified: 2007-05-21 11:23:23 EDT
0 users

See Also:


Attachments
Proposed patch (1.82 KB, patch)
2005-08-28 05:09 EDT, Tobias Heinemann

Description Tobias Heinemann 2005-08-28 05:07:16 EDT
A trivial patch to get rid of a few compiler warnings under gcc 3.3.5.

SWAP_DRAW_SURF expects arguments of type drawSurf_t but in 3 places it was
actually passed arguments of type character.
Comment 1 Tobias Heinemann 2005-08-28 05:09:01 EDT
Created attachment 768 [details]
Proposed patch
Comment 2 Zachary J. Slater 2005-08-28 14:14:02 EDT
Applied, thanks:
http://svn.icculus.org/quake3/trunk/code/renderer/tr_main.c?rev=25&view=log
Comment 3 Ryan C. Gordon 2007-05-21 11:23:23 EDT
Setting a QA contact on all ioquake3 bugs, even resolved ones. Sorry if you get a flood of email from this, it should only happen once. Apologies for the incovenience.

--ryan.