| Submitter | Roland Dreier |
|---|---|
| Date | March 4, 2011, 12:57 a.m. |
| Message ID | <1299200265-32685-1-git-send-email-roland@kernel.org> |
| Download | mbox | patch |
| Permalink | /patch/85359/ |
| State | New |
| Headers | show |
Comments
Patch
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);