Skip to content

Commit

Permalink
trace: Trivial compiler warning fix
Browse files Browse the repository at this point in the history
trace.c:1665: warning: initialization from incompatible pointer type
  • Loading branch information
Chris Wilson committed Apr 26, 2010
1 parent 3c9e5d9 commit 37be183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/cairo-trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
Expand Down

0 comments on commit 37be183

Please sign in to comment.