Revision: 2155
http://synfig.svn.sourceforge.net/synfig/?rev=2155&view=rev
Author: pabs3
Date: 2008-11-06 04:14:42 +0000 (Thu, 06 Nov 2008)
Log Message:
-----------
Use the l printf length modifier when printing the value of long ints, fixes a
compiler warning in the gradient code.
Modified Paths:
--------------
synfig-core/trunk/src/synfig/gradient.cpp
Modified: synfig-core/trunk/src/synfig/gradient.cpp
===================================================================
--- synfig-core/trunk/src/synfig/gradient.cpp 2008-11-05 09:39:07 UTC (rev
2154)
+++ synfig-core/trunk/src/synfig/gradient.cpp 2008-11-06 04:14:42 UTC (rev
2155)
@@ -203,7 +203,7 @@
// otherwise we sum the first in each, and the
last in each
else
{
- if (print) printf("[copying %d from
left %d and %d from right %d at %.2f]\n", iter1-left_same+1, tpos1,
iter2-right_same+1, tpos2, left.pos);
+ if (print) printf("[copying %ld from
left %d and %ld from right %d at %.2f]\n", iter1-left_same+1, tpos1,
iter2-right_same+1, tpos2, left.pos);
// merge the front two cpoints
if (print) printf(" copy front from
left %d right %d\n", tpos1++, tpos2++);
ret.push_back(CPoint(left.pos,
left.color + right.color));
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl