summaryrefslogtreecommitdiff
path: root/src/plugins/php/weechat-php.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/php/weechat-php.c')
-rw-r--r--src/plugins/php/weechat-php.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/php/weechat-php.c b/src/plugins/php/weechat-php.c
index 720d8bd1d..439e04d6b 100644
--- a/src/plugins/php/weechat-php.c
+++ b/src/plugins/php/weechat-php.c
@@ -487,11 +487,11 @@ weechat_php_func_map_get (const char* func_name)
return weechat_hashtable_get (weechat_php_func_map, func_name);
}
-char *
+const char *
weechat_php_func_map_add (zval *ofunc)
{
zval *func;
- char *func_name;
+ const char *func_name;
if (!weechat_php_func_map)
{