diff options
author | Carl Worth <cworth@cworth.org> | 2005-04-06 13:01:13 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2005-04-06 13:01:13 +0000 |
commit | 92060c12ee2acc38541ec2398abba5e1569278de (patch) | |
tree | fad845fdf3046d300af2834a66440ae3bc175996 /test/move-to-show-surface.c | |
parent | 957ceac0c63b70d1a32b64d0d6a89cb1b9bca2c5 (diff) | |
download | cairo-92060c12ee2acc38541ec2398abba5e1569278de.tar.gz |
Make handling of unsigned char* vs. char* consistent. Change all parameters that are actual string data from unsigned char* to char* (cairo_text_extents, cairo_show_text, cairo_text_path). Change all data buffers from char* to unsigned char* (cairo_write_func_t).
Track changes from unsigned char* to char*. Convert to unsigned only at the internal interface to unicode processing.
Track change from char* to unsigned char*.
Diffstat (limited to 'test/move-to-show-surface.c')
-rw-r--r-- | test/move-to-show-surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/move-to-show-surface.c b/test/move-to-show-surface.c index 4dd416625..72b496e18 100644 --- a/test/move-to-show-surface.c +++ b/test/move-to-show-surface.c @@ -63,7 +63,7 @@ draw (cairo_t *cr, int width, int height) int i; for (i=0; i < 4; i++) { - surface = cairo_surface_create_for_image ((char *) &colors[i], + surface = cairo_surface_create_for_image ((unsigned char *) &colors[i], CAIRO_FORMAT_ARGB32, 1, 1, 4); cairo_move_to (cr, i % 2, i / 2); cairo_show_surface (cr, surface, 1, 1); |