all repos — fluxbox @ e6a01dcabb2d1598d02ab211d19e7a6776319010

custom fork of the fluxbox windowmanager

use the 'z' modifier for printing 'size_t' like variables
Paul Tagliamonte paultag@fluxbox.org
commit

e6a01dcabb2d1598d02ab211d19e7a6776319010

parent

56af5a163513abf0c379c164e6d6c4960957a065

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/FbTk/ImageControl.ccsrc/FbTk/ImageControl.cc

@@ -495,7 +495,7 @@ num_colors = m_colors_per_channel * m_colors_per_channel * m_colors_per_channel;

} 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 @@ }

} 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);