From 927ceb99dd5caba075ce4439a8ac39bab707c3ef Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 4 Sep 2015 13:47:21 -0700 Subject: [PATCH] GUAC-427: Fix const-ness of pointer. --- src/protocols/vnc/pulse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/vnc/pulse.c b/src/protocols/vnc/pulse.c index 39af79cd..338df6d7 100644 --- a/src/protocols/vnc/pulse.c +++ b/src/protocols/vnc/pulse.c @@ -45,7 +45,7 @@ static int guac_pa_is_silence(const void* buffer, size_t length) { int i; - unsigned char* current = (unsigned char*) buffer; + const unsigned char* current = (const unsigned char*) buffer; /* For each byte in buffer */ for (i = 0; i < length; i++) {