[TD-5656]<fix>: arm32 socket post result \0 error. (#7092)

This commit is contained in:
Zhiqiang Wang 2021-08-01 10:34:25 +08:00 committed by GitHub
parent 877f20cc7c
commit 84ef79fed1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ void httpJsonTimestamp(JsonBuf* buf, int64_t t, int32_t timePrecision) {
int32_t fractionLen;
char* format = NULL;
time_t quot = 0;
long mod = 0;
int64_t mod = 0;
switch (timePrecision) {
case TSDB_TIME_PRECISION_MILLI: {