summaryrefslogtreecommitdiffstats
path: root/x11vnc/inet.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/inet.c')
-rw-r--r--x11vnc/inet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/inet.c b/x11vnc/inet.c
index a70ce24..a7410ee 100644
--- a/x11vnc/inet.c
+++ b/x11vnc/inet.c
@@ -347,7 +347,7 @@ char *ident_username(rfbClientPtr client) {
if (ret > 0) {
int i;
char *q, *p;
- for (i=0; i < sizeof(msg); i++) {
+ for (i=0; i < (int) sizeof(msg); i++) {
msg[i] = '\0';
}
usleep(250*1000);
OpenPOWER on IntegriCloud