summaryrefslogtreecommitdiffstats
path: root/rdp/rdp.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-06-21 16:30:17 -0700
committerPavel Roskin <plroskin@gmail.com>2016-07-08 04:29:42 +0000
commitaeeb3d2c2e26677758a64db496c86020f99d2f1a (patch)
tree3337017e28744427743d447d4735c00537783321 /rdp/rdp.c
parenta680d46edf747ec17456b6b8e69c95bc4e4407cb (diff)
downloadxrdp-proprietary-aeeb3d2c2e26677758a64db496c86020f99d2f1a.tar.gz
xrdp-proprietary-aeeb3d2c2e26677758a64db496c86020f99d2f1a.zip
Fix warnings detected by -Wwrite-strings
Diffstat (limited to 'rdp/rdp.c')
-rw-r--r--rdp/rdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdp/rdp.c b/rdp/rdp.c
index abbbab73..ffced90b 100644
--- a/rdp/rdp.c
+++ b/rdp/rdp.c
@@ -242,7 +242,7 @@ lib_mod_end(struct mod *mod)
/******************************************************************************/
/* return error */
int DEFAULT_CC
-lib_mod_set_param(struct mod *mod, char *name, char *value)
+lib_mod_set_param(struct mod *mod, const char *name, char *value)
{
if (g_strncasecmp(name, "ip", 255) == 0)
{