summaryrefslogtreecommitdiffstats
path: root/common/sw_canvas.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/sw_canvas.c')
-rw-r--r--common/sw_canvas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/sw_canvas.c b/common/sw_canvas.c
index 78cc1e40..a4edfa2a 100644
--- a/common/sw_canvas.c
+++ b/common/sw_canvas.c
@@ -1241,7 +1241,7 @@ SpiceCanvas *canvas_create(int width, int height, uint32_t format
}
SpiceCanvas *canvas_create_for_data(int width, int height, uint32_t format,
- uint8_t *data, size_t stride
+ uint8_t *data, int stride
#ifdef SW_CANVAS_CACHE
, SpiceImageCache *bits_cache
, SpicePaletteCache *palette_cache