summaryrefslogtreecommitdiffstats
path: root/x11vnc/cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/cursor.c')
-rw-r--r--x11vnc/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/cursor.c b/x11vnc/cursor.c
index 4c8cca7..a840cc7 100644
--- a/x11vnc/cursor.c
+++ b/x11vnc/cursor.c
@@ -932,7 +932,7 @@ static rfbCursorPtr pixels2curs(unsigned long *pixels, int w, int h,
char *bitmap, *rich, *alpha;
char *pixels_new = NULL;
int n_opaque, n_trans, n_alpha, len, histo[256];
- int send_alpha = 0, alpha_shift, thresh;
+ int send_alpha = 0, alpha_shift = 0, thresh;
int i, x, y;
if (first && dpy) { /* raw_fb hack */