summaryrefslogtreecommitdiffstats
path: root/common/lz.c
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-12-06 17:55:16 +0200
committerAlon Levy <alevy@redhat.com>2010-12-08 17:11:45 +0200
commit06749bd66bb3e689bc96be1a3739747912ee0020 (patch)
treedf26e6897c54367f176d3bdeff757896c090a9d5 /common/lz.c
parent2cd07dd8f3dd9bf34b1725bb015aecefc93b3454 (diff)
downloadspice-06749bd66bb3e689bc96be1a3739747912ee0020.tar.gz
spice-06749bd66bb3e689bc96be1a3739747912ee0020.tar.xz
spice-06749bd66bb3e689bc96be1a3739747912ee0020.zip
mingw32 build: fix signed/unsigned warnings as errors
Diffstat (limited to 'common/lz.c')
-rw-r--r--common/lz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/lz.c b/common/lz.c
index e5635849..d0d95115 100644
--- a/common/lz.c
+++ b/common/lz.c
@@ -633,7 +633,7 @@ void lz_decode(LzContext *lz, LzImageType to_type, uint8_t *buf)
Encoder *encoder = (Encoder *)lz;
size_t out_size = 0;
size_t alpha_size = 0;
- int size = 0;
+ size_t size = 0;
if (IS_IMAGE_TYPE_PLT[encoder->type]) {
if (to_type == encoder->type) {
size = encoder->height * encoder->stride;