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);