diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-08-26 18:41:22 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-08-26 23:02:41 +0100 |
commit | de6742c5f190664556658e35f5ea5ede979671af (patch) | |
tree | a69c45d148a4663c403a42b1cbe41bd54b094c77 /src/cairo-scaled-font-subsets-private.h | |
parent | 92fcb9d2f7fa143d1f6707ead7d4a85e9f739bcb (diff) | |
download | cairo-de6742c5f190664556658e35f5ea5ede979671af.tar.gz |
[ps] Mark the hex data as unsigned char.
Use unsigned char to avoid sign extensions issues when bit shifting.
Diffstat (limited to 'src/cairo-scaled-font-subsets-private.h')
-rw-r--r-- | src/cairo-scaled-font-subsets-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-scaled-font-subsets-private.h b/src/cairo-scaled-font-subsets-private.h index 4eb2c792a..e87731812 100644 --- a/src/cairo-scaled-font-subsets-private.h +++ b/src/cairo-scaled-font-subsets-private.h @@ -371,7 +371,7 @@ typedef struct _cairo_truetype_subset { double *widths; double x_min, y_min, x_max, y_max; double ascent, descent; - char *data; + unsigned char *data; unsigned long data_length; unsigned long *string_offsets; unsigned long num_string_offsets; |