mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 16:28:09 +02:00
trace: Trivial compiler warning fix
trace.c:1665: warning: initialization from incompatible pointer type
This commit is contained in:
parent
3c9e5d9792
commit
37be183412
1 changed files with 1 additions and 1 deletions
|
|
@ -1662,7 +1662,7 @@ _emit_image (cairo_surface_t *image,
|
|||
break;
|
||||
case CAIRO_FORMAT_RGB16_565: /* XXX endianness */
|
||||
for (row = height; row--; ) {
|
||||
uint16_t *src = data;
|
||||
uint16_t *src = (uint16_t *) data;
|
||||
uint16_t *dst = (uint16_t *)rowdata;
|
||||
int col;
|
||||
for (col = 0; col < width; col++)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue