fix windows compile err
This commit is contained in:
parent
cafe84d110
commit
848401b470
|
@ -574,7 +574,7 @@ static int32_t taosPushLogBuffer(SLogBuff *tLogBuff, char *msg, int32_t msgLen)
|
||||||
|
|
||||||
if (lostLine > 0) {
|
if (lostLine > 0) {
|
||||||
sprintf(tmpBuf, "...Lost %"PRId64" lines here...\n", lostLine);
|
sprintf(tmpBuf, "...Lost %"PRId64" lines here...\n", lostLine);
|
||||||
tmpBufLen = strlen(tmpBuf);
|
tmpBufLen = (int32_t)strlen(tmpBuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (remainSize <= msgLen || ((lostLine > 0) && (remainSize <= (msgLen + tmpBufLen)))) {
|
if (remainSize <= msgLen || ((lostLine > 0) && (remainSize <= (msgLen + tmpBufLen)))) {
|
||||||
|
|
Loading…
Reference in New Issue