GUAC-427: Fix const-ness of pointer.
This commit is contained in:
parent
47b060d6eb
commit
927ceb99dd
@ -45,7 +45,7 @@ static int guac_pa_is_silence(const void* buffer, size_t length) {
|
|||||||
|
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
unsigned char* current = (unsigned char*) buffer;
|
const unsigned char* current = (const unsigned char*) buffer;
|
||||||
|
|
||||||
/* For each byte in buffer */
|
/* For each byte in buffer */
|
||||||
for (i = 0; i < length; i++) {
|
for (i = 0; i < length; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user