summaryrefslogtreecommitdiffstats
path: root/gatchat/gatserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/gatserver.c')
-rw-r--r--gatchat/gatserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gatserver.c b/gatchat/gatserver.c
index 4ccea86d..b092a68c 100644
--- a/gatchat/gatserver.c
+++ b/gatchat/gatserver.c
@@ -1260,7 +1260,7 @@ gboolean g_at_server_set_debug(GAtServer *server, GAtDebugFunc func,
return TRUE;
}
-gboolean g_at_server_register(GAtServer *server, char *prefix,
+gboolean g_at_server_register(GAtServer *server, const char *prefix,
GAtServerNotifyFunc notify,
gpointer user_data,
GDestroyNotify destroy_notify)