summaryrefslogtreecommitdiff
path: root/fitz/res_pixmap.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2011-08-02 14:30:21 +0100
committerRobin Watts <Robin.Watts@artifex.com>2011-08-02 14:57:20 +0100
commit993e6144cfd2d9e4f67ecd03bd60c0e3b9327f9d (patch)
tree41f5cd546c1e539886ee6c6221d1a552447fe6c1 /fitz/res_pixmap.c
parentb076818f88a3ab152897cd2e65c95cef9afb471f (diff)
downloadmupdf-993e6144cfd2d9e4f67ecd03bd60c0e3b9327f9d.tar.xz
Squash some compiler type warnings.
unsigned char * is not the same as char *.
Diffstat (limited to 'fitz/res_pixmap.c')
-rw-r--r--fitz/res_pixmap.c8
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++)