From: pabs3 Date: Thu, 6 Nov 2008 04:55:12 +0000 (+0000) Subject: Use the z printf length modifier when printing the value of size_t values, fixes... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=9d5f2f4000fc7a92b3f9dccc395413ed3de684a2;p=synfig.git 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 --- 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 {