diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2011-08-02 14:30:21 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2011-08-02 14:57:20 +0100 |
commit | 993e6144cfd2d9e4f67ecd03bd60c0e3b9327f9d (patch) | |
tree | 41f5cd546c1e539886ee6c6221d1a552447fe6c1 /fitz | |
parent | b076818f88a3ab152897cd2e65c95cef9afb471f (diff) | |
download | mupdf-993e6144cfd2d9e4f67ecd03bd60c0e3b9327f9d.tar.xz |
Squash some compiler type warnings.
unsigned char * is not the same as char *.
Diffstat (limited to 'fitz')
-rw-r--r-- | fitz/res_pixmap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fitz/res_pixmap.c b/fitz/res_pixmap.c index 8b0047f1..36180a3b 100644 --- a/fitz/res_pixmap.c +++ b/fitz/res_pixmap.c @@ -135,8 +135,8 @@ fz_clear_pixmap_with_color(fz_pixmap *pix, int value) void fz_copy_pixmap_rect(fz_pixmap *dest, const fz_pixmap *src, fz_bbox r) { - const char *srcp; - char *destp; + const unsigned char *srcp; + unsigned char *destp; int y, w, destspan, srcspan; if (r.x0 < dest->x) @@ -176,7 +176,7 @@ fz_copy_pixmap_rect(fz_pixmap *dest, const fz_pixmap *src, fz_bbox r) void fz_clear_pixmap_rect_with_color(fz_pixmap *dest, int value, fz_bbox r) { - char *destp; + unsigned char *destp; int x, y, w, k, destspan; if (r.x0 < dest->x) @@ -204,7 +204,7 @@ fz_clear_pixmap_rect_with_color(fz_pixmap *dest, int value, fz_bbox r) { do { - char *s = destp; + unsigned char *s = destp; for (x = 0; x < w; x++) { for (k = 0; k < dest->n - 1; k++) |