Revision: 2157
          http://synfig.svn.sourceforge.net/synfig/?rev=2157&view=rev
Author:   pabs3
Date:     2008-11-06 04:55:12 +0000 (Thu, 06 Nov 2008)

Log Message:
-----------
Use the z printf length modifier when printing the value of size_t values, 
fixes a compiler warning in the draw tool code.

Modified Paths:
--------------
    synfig-studio/trunk/src/gtkmm/state_draw.cpp

Modified: synfig-studio/trunk/src/gtkmm/state_draw.cpp
===================================================================
--- synfig-studio/trunk/src/gtkmm/state_draw.cpp        2008-11-06 04:44:26 UTC 
(rev 2156)
+++ synfig-studio/trunk/src/gtkmm/state_draw.cpp        2008-11-06 04:55:12 UTC 
(rev 2157)
@@ -1273,7 +1273,7 @@
 
        std::list<synfigapp::ValueDesc> vertex_list;
 
-       printf("new_region with %d bline points\n", bline.size());
+       printf("new_region with %zd bline points\n", bline.size());
 
        // First we need to come up with a rough list of
        // BLinePoints that we are going to be using to
@@ -1316,7 +1316,7 @@
 
        assert(vertex_list.back().is_valid());
 
-       printf("vertex list with %d bline points\n", vertex_list.size());
+       printf("vertex list with %zd bline points\n", vertex_list.size());
 
        // Remove any duplicates
        {


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

Reply via email to