mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 16:28:09 +02:00
xcb: Use int instead of uint16_t for rowstride
Fixes negative-stride-image Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
45d9659665
commit
9a199fd403
2 changed files with 2 additions and 2 deletions
|
|
@ -168,7 +168,7 @@ _cairo_xcb_connection_put_subimage (cairo_xcb_connection_t *connection,
|
|||
uint16_t width,
|
||||
uint16_t height,
|
||||
uint16_t cpp,
|
||||
uint16_t stride,
|
||||
int stride,
|
||||
int16_t dst_x,
|
||||
int16_t dst_y,
|
||||
uint8_t depth,
|
||||
|
|
|
|||
|
|
@ -552,7 +552,7 @@ _cairo_xcb_connection_put_subimage (cairo_xcb_connection_t *connection,
|
|||
uint16_t width,
|
||||
uint16_t height,
|
||||
uint16_t cpp,
|
||||
uint16_t stride,
|
||||
int stride,
|
||||
int16_t dst_x,
|
||||
int16_t dst_y,
|
||||
uint8_t depth,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue