aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authorPaul Tagliamonte <paultag@fluxbox.org>2012-04-10 07:27:11 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2012-04-10 07:27:44 (GMT)
commite6a01dcabb2d1598d02ab211d19e7a6776319010 (patch)
treeeaf1782e6b926e9c56899ee67d2d6ab1c2eda83f /src/FbTk
parent56af5a163513abf0c379c164e6d6c4960957a065 (diff)
downloadfluxbox-e6a01dcabb2d1598d02ab211d19e7a6776319010.zip
fluxbox-e6a01dcabb2d1598d02ab211d19e7a6776319010.tar.bz2
use the 'z' modifier for printing 'size_t' like variables
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/ImageControl.cc4
1 files 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() {
495 } 495 }
496 496
497 if (m_colors_per_channel < 2 || num_colors > static_cast<unsigned>(1 << m_screen_depth)) { 497 if (m_colors_per_channel < 2 || num_colors > static_cast<unsigned>(1 << m_screen_depth)) {
498 fprintf(stderr, "ImageControl::ImageControl: invalid colormap size %ld " 498 fprintf(stderr, "ImageControl::ImageControl: invalid colormap size %zd "
499 "(%d/%d/%d) - reducing", 499 "(%d/%d/%d) - reducing",
500 num_colors, m_colors_per_channel, m_colors_per_channel, 500 num_colors, m_colors_per_channel, m_colors_per_channel,
501 m_colors_per_channel); 501 m_colors_per_channel);
@@ -543,7 +543,7 @@ void ImageControl::createColorTable() {
543 } 543 }
544 544
545 if (m_colors_per_channel < 2 || num_colors > static_cast<unsigned>(1 << m_screen_depth)) { 545 if (m_colors_per_channel < 2 || num_colors > static_cast<unsigned>(1 << m_screen_depth)) {
546 fprintf(stderr,"FbTk::ImageControl: invalid colormap size %ld " 546 fprintf(stderr,"FbTk::ImageControl: invalid colormap size %zd "
547 "(%d/%d/%d) - reducing", 547 "(%d/%d/%d) - reducing",
548 num_colors, m_colors_per_channel, m_colors_per_channel, 548 num_colors, m_colors_per_channel, m_colors_per_channel,
549 m_colors_per_channel); 549 m_colors_per_channel);