aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
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);