From a0190fce2302b8051f744c5cf38c1b334d77d11e Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 23 Jan 2012 15:49:22 +0100 Subject: Fix various comparison between signed and unsigned integer expressions warnings These turn into errors because of our -Werror use, breaking the build. Signed-off-by: Hans de Goede --- client/gui/softrenderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/gui/softrenderer.cpp') diff --git a/client/gui/softrenderer.cpp b/client/gui/softrenderer.cpp index 9f19e7b0..c888bc03 100644 --- a/client/gui/softrenderer.cpp +++ b/client/gui/softrenderer.cpp @@ -45,7 +45,7 @@ SoftRenderer::SoftRenderer(uint8_t* surface, uint width, uint height, uint strid , _image_codec_module (NULL) , _queueing(true) { - assert(stride == _width * 4); //for now + assert(stride == width * 4); //for now if (!_image_codec) { setupImageCodec(); } -- cgit