summaryrefslogtreecommitdiff
path: root/apps/unix/x11pdf.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2008-01-06 02:16:16 +0100
committerSebastian Rasmussen <sebras@hotmail.com>2008-01-06 02:16:16 +0100
commit8737114d5d00505d730519aa9ceada0270141783 (patch)
treee2c902d2e6725b8189f1d730bb381c0b0ecfe5c6 /apps/unix/x11pdf.c
parentf80299eb57222b06639ef4dcadcf18c5eba0c911 (diff)
downloadmupdf-8737114d5d00505d730519aa9ceada0270141783.tar.xz
Fixed compiler warnings.
Diffstat (limited to 'apps/unix/x11pdf.c')
-rw-r--r--apps/unix/x11pdf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/unix/x11pdf.c b/apps/unix/x11pdf.c
index 017ebcbc..537015f9 100644
--- a/apps/unix/x11pdf.c
+++ b/apps/unix/x11pdf.c
@@ -129,7 +129,7 @@ void winopen(void)
{
hints->flags = IconPixmapHint;
hints->icon_pixmap = XCreateBitmapFromData(xdpy, xwin,
- gs_l_xbm_bits, gs_l_xbm_width, gs_l_xbm_height);
+ (char *) gs_l_xbm_bits, gs_l_xbm_width, gs_l_xbm_height);
if (hints->icon_pixmap)
{
XSetWMHints(xdpy, xwin, hints);
@@ -209,7 +209,7 @@ static void fillrect(int x, int y, int w, int h)
static void invertcopyrect()
{
- unsigned t, *p;
+ unsigned *p;
int x, y;
int x0 = gapp.selr.x0 - gapp.panx;
@@ -480,7 +480,7 @@ int main(int argc, char **argv)
char *filename;
int c;
int len;
- unsigned char buf[128];
+ char buf[128];
KeySym keysym;
int oldx = 0;
int oldy = 0;