From e6a01dcabb2d1598d02ab211d19e7a6776319010 Mon Sep 17 00:00:00 2001
From: Paul Tagliamonte <paultag@fluxbox.org>
Date: Tue, 10 Apr 2012 09:27:11 +0200
Subject: use the 'z' modifier for printing 'size_t' like variables

---
 src/FbTk/ImageControl.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/FbTk/ImageControl.cc b/src/FbTk/ImageControl.cc
index a5e5cd1..fe6fde0 100644
--- a/src/FbTk/ImageControl.cc
+++ b/src/FbTk/ImageControl.cc
@@ -495,7 +495,7 @@ void ImageControl::createColorTable() {
         }
 
         if (m_colors_per_channel < 2 || num_colors > static_cast<unsigned>(1 << m_screen_depth)) {
-            fprintf(stderr, "ImageControl::ImageControl: invalid colormap size %ld "
+            fprintf(stderr, "ImageControl::ImageControl: invalid colormap size %zd "
                     "(%d/%d/%d) - reducing",
                     num_colors, m_colors_per_channel, m_colors_per_channel,
                     m_colors_per_channel);
@@ -543,7 +543,7 @@ void ImageControl::createColorTable() {
             }
 
             if (m_colors_per_channel < 2 || num_colors > static_cast<unsigned>(1 << m_screen_depth)) {
-                fprintf(stderr,"FbTk::ImageControl: invalid colormap size %ld "
+                fprintf(stderr,"FbTk::ImageControl: invalid colormap size %zd "
                         "(%d/%d/%d) - reducing",
                         num_colors, m_colors_per_channel, m_colors_per_channel,
                         m_colors_per_channel);
-- 
cgit v0.11.2