From d1ba17941633b70d7086b2ed03e5176f8f7962e7 Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Thu, 15 Jul 2021 21:30:35 +0800 Subject: [PATCH] [TD-4647]:fix mac os compile error --- src/client/src/tscParseLineProtocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscParseLineProtocol.c b/src/client/src/tscParseLineProtocol.c index 25b35fdb36..31df4e2578 100644 --- a/src/client/src/tscParseLineProtocol.c +++ b/src/client/src/tscParseLineProtocol.c @@ -1405,7 +1405,7 @@ int32_t taos_sml_timestamp_convert(TAOS_SML_KV *pVal, char *value, uint16_t len) if (ret) { return ret; } - printf("Timestamp after conversion:%ld\n", tsVal); + printf("Timestamp after conversion:%"PRId64"\n", tsVal); pVal->type = TSDB_DATA_TYPE_TIMESTAMP; pVal->length = (int16_t)tDataTypes[pVal->type].bytes; -- GitLab