Message ID | 1299200265-32685-1-git-send-email-roland@kernel.org |
---|---|
State | New |
Headers | show |
diff --git a/ui/vnc-enc-tight.c b/ui/vnc-enc-tight.c index af45edd..59ec0e3 100644 --- a/ui/vnc-enc-tight.c +++ b/ui/vnc-enc-tight.c @@ -829,7 +829,7 @@ static int tight_compress_data(VncState *vs, int stream_id, size_t bytes, int level, int strategy) { z_streamp zstream = &vs->tight.stream[stream_id]; - int previous_out; + uLong previous_out; if (bytes < VNC_TIGHT_MIN_TO_COMPRESS) { vnc_write(vs, vs->tight.tight.buffer, vs->tight.tight.offset);