From d1efb0d5baa661367b0fe74130457cb932a66e3b Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 21 Jun 2016 16:30:19 -0700 Subject: Fix signed to unsigned comparisons reported by g++ 6.1.0 --- vnc/vnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnc/vnc.c') diff --git a/vnc/vnc.c b/vnc/vnc.c index a72c8dd1..99245b53 100644 --- a/vnc/vnc.c +++ b/vnc/vnc.c @@ -587,7 +587,7 @@ lib_framebuffer_update(struct vnc *v) int cy; int srcx; int srcy; - int encoding; + unsigned int encoding; int Bpp; int pixel; int r; -- cgit v1.2.1