diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-08-18 16:33:20 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-08-18 16:33:20 +0200 |
commit | eb5de022d40462c201a1aa8933f80ebdc7e0deb7 (patch) | |
tree | fbdf4d1ecee781ff1b61d16e3b2ffe55e8a1eb5f /common/sw_canvas.h | |
parent | 6e454248cc759bd4a32f0ff767de023836f8417d (diff) | |
download | spice-eb5de022d40462c201a1aa8933f80ebdc7e0deb7.tar.gz spice-eb5de022d40462c201a1aa8933f80ebdc7e0deb7.tar.xz spice-eb5de022d40462c201a1aa8933f80ebdc7e0deb7.zip |
Stride can be negative, so don't use size_t for it
Diffstat (limited to 'common/sw_canvas.h')
-rw-r--r-- | common/sw_canvas.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/sw_canvas.h b/common/sw_canvas.h index 473bbc1a..99deac88 100644 --- a/common/sw_canvas.h +++ b/common/sw_canvas.h @@ -39,7 +39,7 @@ SpiceCanvas *canvas_create(int width, int height, uint32_t format , SpiceZlibDecoder *zlib_decoder ); -SpiceCanvas *canvas_create_for_data(int width, int height, uint32_t format, uint8_t *data, size_t stride +SpiceCanvas *canvas_create_for_data(int width, int height, uint32_t format, uint8_t *data, int stride #ifdef SW_CANVAS_CACHE , SpiceImageCache *bits_cache , SpicePaletteCache *palette_cache |