diff options
Diffstat (limited to 'capchild')
-rw-r--r-- | capchild/capture_sync.c | 2 | ||||
-rw-r--r-- | capchild/capture_sync.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/capchild/capture_sync.c b/capchild/capture_sync.c index c3bd19cc5e..25879ebdfb 100644 --- a/capchild/capture_sync.c +++ b/capchild/capture_sync.c @@ -1711,7 +1711,7 @@ sync_pipe_input_cb(gint source, gpointer user_data) message = end + 1; } - capture_input_cfilter_error_message(cap_session, indx, (char*)message); + capture_input_cfilter_error_message(cap_session, indx, message); /* the capture child will close the sync_pipe, nothing to do for now */ break; } diff --git a/capchild/capture_sync.h b/capchild/capture_sync.h index 41c566de1a..dafd787a4e 100644 --- a/capchild/capture_sync.h +++ b/capchild/capture_sync.h @@ -136,7 +136,7 @@ capture_input_error_message(capture_session *cap_session, char *error_msg, */ extern void capture_input_cfilter_error_message(capture_session *cap_session, guint i, - char *error_message); + const char *error_message); /** * Capture child closed its side of the pipe, report any error and |