summaryrefslogtreecommitdiff
path: root/src/test/test_process_slow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_process_slow.c')
-rw-r--r--src/test/test_process_slow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_process_slow.c b/src/test/test_process_slow.c
index b23492e972..cc7e8c5a9c 100644
--- a/src/test/test_process_slow.c
+++ b/src/test/test_process_slow.c
@@ -67,7 +67,7 @@ process_data_free(process_data_t *process_data)
}
static void
-process_stdout_callback(process_t *process, char *data, size_t size)
+process_stdout_callback(process_t *process, const char *data, size_t size)
{
tt_ptr_op(process, OP_NE, NULL);
tt_ptr_op(data, OP_NE, NULL);
@@ -81,7 +81,7 @@ process_stdout_callback(process_t *process, char *data, size_t size)
}
static void
-process_stderr_callback(process_t *process, char *data, size_t size)
+process_stderr_callback(process_t *process, const char *data, size_t size)
{
tt_ptr_op(process, OP_NE, NULL);
tt_ptr_op(data, OP_NE, NULL);