提交 a2fbca35 编写于 作者: S Shengliang Guan

TD-1154 minor changes for windows compile

上级 07a77ca0
...@@ -67,7 +67,7 @@ SSqlObj *taosConnectImpl(const char *ip, const char *user, const char *pass, con ...@@ -67,7 +67,7 @@ SSqlObj *taosConnectImpl(const char *ip, const char *user, const char *pass, con
taosEncryptPass((uint8_t *)pass, strlen(pass), secretEncrypt); taosEncryptPass((uint8_t *)pass, strlen(pass), secretEncrypt);
} else { } else {
int outlen = 0; int outlen = 0;
int len = strlen(auth); int len = (int)strlen(auth);
char *base64 = (char *)base64_decode(auth, len, &outlen); char *base64 = (char *)base64_decode(auth, len, &outlen);
if (base64 == NULL || outlen == 0) { if (base64 == NULL || outlen == 0) {
tscError("invalid auth info:%s", auth); tscError("invalid auth info:%s", auth);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册