diff --git a/src/os/src/windows/wSemphone.c b/src/os/src/windows/wSemphone.c index 02e6247bba64a73516e0932313a60b8ab08ef6e4..c234265d28e5ea15d28ee767099722181de27607 100644 --- a/src/os/src/windows/wSemphone.c +++ b/src/os/src/windows/wSemphone.c @@ -49,6 +49,6 @@ int32_t taosGetCurrentAPPName(char *name, int32_t* len) { strcpy(name, filepath); if (len != NULL) { - *len = strlen(filepath); + *len = (int32_t) strlen(filepath); } } \ No newline at end of file