diff --git a/src/client/src/tscSql.c b/src/client/src/tscSql.c index 7046bc7725527dad38eb1975959f3d58f32294a3..1bd885466c995883b7487b1efcb1dadc8d7a5013 100644 --- a/src/client/src/tscSql.c +++ b/src/client/src/tscSql.c @@ -67,7 +67,7 @@ SSqlObj *taosConnectImpl(const char *ip, const char *user, const char *pass, con taosEncryptPass((uint8_t *)pass, strlen(pass), secretEncrypt); } else { int outlen = 0; - int len = strlen(auth); + int len = (int)strlen(auth); char *base64 = (char *)base64_decode(auth, len, &outlen); if (base64 == NULL || outlen == 0) { tscError("invalid auth info:%s", auth);