summaryrefslogtreecommitdiffstats
path: root/x11vnc/8to24.c
diff options
context:
space:
mode:
authorrunge <runge>2006-12-28 17:57:10 +0000
committerrunge <runge>2006-12-28 17:57:10 +0000
commitf9baaf1ee49e7889808b1f058a5f348a9cd5f027 (patch)
tree67b130f468967c942662f620950e188672d84e60 /x11vnc/8to24.c
parent99a557d673ac4444532ac7025cb479a229ea7fb3 (diff)
downloadlibtdevnc-f9baaf1ee49e7889808b1f058a5f348a9cd5f027.tar.gz
libtdevnc-f9baaf1ee49e7889808b1f058a5f348a9cd5f027.zip
more compiler warnings cleanup.
Diffstat (limited to 'x11vnc/8to24.c')
-rw-r--r--x11vnc/8to24.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11vnc/8to24.c b/x11vnc/8to24.c
index b07e468..1d071a8 100644
--- a/x11vnc/8to24.c
+++ b/x11vnc/8to24.c
@@ -1475,6 +1475,9 @@ if (db24 > 1) fprintf(stderr, "transform %4d %4d %4d %4d cm: %d\n", rect.x1, rec
return;
#else
+ attr.width = 0;
+ attr.height = 0;
+
/* now transform the pixels in this rectangle: */
n_off = main_bytes_per_line * rect.y1 + pixelsize * rect.x1;