fix: resolve a format issue of printf in hashTest.cpp

This commit is contained in:
Benguang Zhao 2022-10-20 14:18:21 +08:00
parent 67ed0cf313
commit 659a5ab384
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ void perfTest() {
char* name = (char*)taosMemoryCalloc(50000000, 9); char* name = (char*)taosMemoryCalloc(50000000, 9);
for (int64_t i = 0; i < 50000000; ++i) { for (int64_t i = 0; i < 50000000; ++i) {
sprintf(name + i * 9, "t%08d", i); sprintf(name + i * 9, "t%08" PRId64, i);
} }
for (int64_t i = 0; i < 50; ++i) { for (int64_t i = 0; i < 50; ++i) {