diff options
Diffstat (limited to 'libvncserver/ultra.c')
-rw-r--r-- | libvncserver/ultra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncserver/ultra.c b/libvncserver/ultra.c index 47fab55..9485591 100644 --- a/libvncserver/ultra.c +++ b/libvncserver/ultra.c @@ -68,7 +68,7 @@ rfbSendOneRectEncodingUltra(rfbClientPtr cl, */ maxCompSize = (maxRawSize + maxRawSize / 16 + 64 + 3); - if (cl->afterEncBufSize < maxCompSize) { + if (cl->afterEncBufSize < (int)maxCompSize) { cl->afterEncBufSize = maxCompSize; if (cl->afterEncBuf == NULL) cl->afterEncBuf = (char *)malloc(cl->afterEncBufSize); |