TD-1154 minor changes for windows compile

This commit is contained in:
Shengliang Guan 2020-08-17 17:56:43 +08:00
parent 07a77ca0d0
commit a2fbca353a
1 changed files with 1 additions and 1 deletions

View File

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