diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-01-23 15:49:22 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2012-01-23 15:58:13 +0100 |
commit | a0190fce2302b8051f744c5cf38c1b334d77d11e (patch) | |
tree | f027a95359e0ebff2a44aa6ebbef21c06f883ee2 /client/gui/softrenderer.cpp | |
parent | 459a4dba56bad9dbfb529723eee063c138baccce (diff) | |
download | spice-a0190fce2302b8051f744c5cf38c1b334d77d11e.tar.gz spice-a0190fce2302b8051f744c5cf38c1b334d77d11e.tar.xz spice-a0190fce2302b8051f744c5cf38c1b334d77d11e.zip |
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 <hdegoede@redhat.com>
Diffstat (limited to 'client/gui/softrenderer.cpp')
-rw-r--r-- | client/gui/softrenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |