diff --git a/src/inc/tsched.h b/src/inc/tsched.h index c430fb3caf2c071ed2a36ccca711fb61c8854d8c..dffd7a298a940e6d0f9a5fc7c6a0543beaca38cc 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);