summaryrefslogtreecommitdiff
path: root/apps/unix/ximage.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2008-03-08 18:21:14 +0100
committerSebastian Rasmussen <sebras@hotmail.com>2008-03-08 18:21:14 +0100
commit5653ed4d9e7d413192a8923d29eb05c752d0b1ac (patch)
tree54d88cfcf3852f404ff532c3084de6d1d4f858f9 /apps/unix/ximage.c
parente921e12bcfa3a343eac5e4b7ba3f2566f5eff49f (diff)
downloadmupdf-5653ed4d9e7d413192a8923d29eb05c752d0b1ac.tar.xz
Fixed almost all compiler warnings.
Diffstat (limited to 'apps/unix/ximage.c')
-rw-r--r--apps/unix/ximage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/unix/ximage.c b/apps/unix/ximage.c
index b37cf544..05ca9eb0 100644
--- a/apps/unix/ximage.c
+++ b/apps/unix/ximage.c
@@ -389,7 +389,7 @@ ximage_blit(Drawable d, GC gc,
(ax + srcx) * 4;
info.convert_func(srcptr, srcstride,
- image->data,
+ (unsigned char *) image->data,
image->bytes_per_line, w, h);
if (info.useshm)