[TD-225]fix compiler error.

This commit is contained in:
Haojun Liao 2021-01-11 13:33:09 +08:00
parent da6371b5b2
commit f5aa1d3c1c
1 changed files with 1 additions and 1 deletions

View File

@ -613,7 +613,7 @@ int32_t tStrToInteger(const char* z, int16_t type, int32_t n, int64_t* value, bo
} else if ((issigned && (v < INT64_MIN || v > INT64_MAX)) || ((!issigned) && (v < 0 || v > UINT64_MAX))) {
ret = -1;
} else {
*value = round(v);
*value = (int64_t) round(v);
}
errno = 0;