From 9d5f2f4000fc7a92b3f9dccc395413ed3de684a2 Mon Sep 17 00:00:00 2001 From: pabs3 Date: Thu, 6 Nov 2008 04:55:12 +0000 Subject: [PATCH] Use the z printf length modifier when printing the value of size_t values, fixes a compiler warning in the draw tool code. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2157 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/state_draw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/state_draw.cpp b/synfig-studio/trunk/src/gtkmm/state_draw.cpp index 79c4788..b1123b5 100644 --- a/synfig-studio/trunk/src/gtkmm/state_draw.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_draw.cpp @@ -1273,7 +1273,7 @@ StateDraw_Context::new_region(std::list bline, synfig::Real std::list 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 @@ StateDraw_Context::new_region(std::list bline, synfig::Real 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 { -- 2.7.4