From: <Mee...@us...> - 2011-12-21 17:59:55
|
Revision: 3708 http://sc2.svn.sourceforge.net/sc2/?rev=3708&view=rev Author: Meep-Eep Date: 2011-12-21 17:59:49 +0000 (Wed, 21 Dec 2011) Log Message: ----------- Fix for a few warnings. Modified Paths: -------------- trunk/sc2/ChangeLog trunk/sc2/src/libs/graphics/tfb_prim.c Modified: trunk/sc2/ChangeLog =================================================================== --- trunk/sc2/ChangeLog 2011-12-21 17:58:57 UTC (rev 3707) +++ trunk/sc2/ChangeLog 2011-12-21 17:59:49 UTC (rev 3708) @@ -1,5 +1,5 @@ Changes towards version 0.8: -- Remove superfluous semicolons, from Louis Delacroix +- Some cleanups / warnings fixes, from Louis Delacroix - Added a free callback function for the values of the key-value pairs in hash tables - SvdB - Annigilate ActivateStarShip() - SvdB Modified: trunk/sc2/src/libs/graphics/tfb_prim.c =================================================================== --- trunk/sc2/src/libs/graphics/tfb_prim.c 2011-12-21 17:58:57 UTC (rev 3707) +++ trunk/sc2/src/libs/graphics/tfb_prim.c 2011-12-21 17:59:49 UTC (rev 3708) @@ -131,7 +131,7 @@ if (!SrcFramePtr) { log_add (log_Warning, "TFB_Prim_Stamp: Tried to draw a NULL frame" - " (Stamp address = %p)", stmp); + " (Stamp address = %p)", (void *) stmp); return; } img = SrcFramePtr->image; @@ -180,7 +180,7 @@ if (!SrcFramePtr) { log_add (log_Warning, "TFB_Prim_StampFill: Tried to draw a NULL frame" - " (Stamp address = %p)", stmp); + " (Stamp address = %p)", (void *) stmp); return; } img = SrcFramePtr->image; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |