From 0bb305c6aed13afca2f8f23da6f08b31d19383fc Mon Sep 17 00:00:00 2001 From: slguan Date: Mon, 22 Jul 2019 09:53:38 +0800 Subject: [PATCH] issue #141, also need to modify the function declaration --- src/inc/tsched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inc/tsched.h b/src/inc/tsched.h index c430fb3caf..dffd7a298a 100644 --- a/src/inc/tsched.h +++ b/src/inc/tsched.h @@ -30,7 +30,7 @@ typedef struct _sched_msg { void *thandle; } SSchedMsg; -void *taosInitScheduler(int queueSize, int numOfThreads, char *label); +void *taosInitScheduler(int queueSize, int numOfThreads, const char *label); int taosScheduleTask(void *qhandle, SSchedMsg *pMsg); -- GitLab