提交 d1ba1794 编写于 作者: S shenglian zhou

[TD-4647]<feature>:fix mac os compile error

上级 d8545b50
...@@ -1405,7 +1405,7 @@ int32_t taos_sml_timestamp_convert(TAOS_SML_KV *pVal, char *value, uint16_t len) ...@@ -1405,7 +1405,7 @@ int32_t taos_sml_timestamp_convert(TAOS_SML_KV *pVal, char *value, uint16_t len)
if (ret) { if (ret) {
return ret; return ret;
} }
printf("Timestamp after conversion:%ld\n", tsVal); printf("Timestamp after conversion:%"PRId64"\n", tsVal);
pVal->type = TSDB_DATA_TYPE_TIMESTAMP; pVal->type = TSDB_DATA_TYPE_TIMESTAMP;
pVal->length = (int16_t)tDataTypes[pVal->type].bytes; pVal->length = (int16_t)tDataTypes[pVal->type].bytes;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册