summaryrefslogtreecommitdiff
path: root/main/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/event.c')
-rw-r--r--main/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/event.c b/main/event.c
index 4f8b08bb2..a50f611ed 100644
--- a/main/event.c
+++ b/main/event.c
@@ -840,7 +840,7 @@ int ast_event_sub_activate(struct ast_event_sub *sub)
}
struct ast_event_sub *ast_event_subscribe(enum ast_event_type type, ast_event_cb_t cb,
- char *description, void *userdata, ...)
+ const char *description, void *userdata, ...)
{
va_list ap;
enum ast_event_ie_type ie_type;