diff options
Diffstat (limited to 'x11vnc/solid.c')
-rw-r--r-- | x11vnc/solid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/solid.c b/x11vnc/solid.c index 5e91bf6..9b85725 100644 --- a/x11vnc/solid.c +++ b/x11vnc/solid.c @@ -300,7 +300,7 @@ static void solid_cde(char *color) { int format; unsigned long length, after; unsigned char *data; - unsigned int * dp; + unsigned long *dp; /* crash on 64bit with int */ nws = 0; @@ -323,7 +323,7 @@ static void solid_cde(char *color) { return; } - dp = (unsigned int *) data; + dp = (unsigned long *) data; wm_win = (Window) *(dp+1); /* 2nd item. */ |