From aeeb3d2c2e26677758a64db496c86020f99d2f1a Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 21 Jun 2016 16:30:17 -0700 Subject: Fix warnings detected by -Wwrite-strings --- 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 604fd571..a72c8dd1 100644 --- a/vnc/vnc.c +++ b/vnc/vnc.c @@ -1396,7 +1396,7 @@ lib_mod_end(struct vnc *v) /******************************************************************************/ int DEFAULT_CC -lib_mod_set_param(struct vnc *v, char *name, char *value) +lib_mod_set_param(struct vnc *v, const char *name, char *value) { if (g_strcasecmp(name, "username") == 0) { -- cgit v1.2.1