From dad9c44e542474fa7fda23129e179fa142d39602 Mon Sep 17 00:00:00 2001 From: tickduan <417921451@qq.com> Date: Thu, 8 Jul 2021 15:51:21 +0800 Subject: [PATCH] fix %lu warning --- src/kit/taospack/taospack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kit/taospack/taospack.c b/src/kit/taospack/taospack.c index 850417522e..f3b47cb88e 100644 --- a/src/kit/taospack/taospack.c +++ b/src/kit/taospack/taospack.c @@ -348,7 +348,7 @@ bool txt_to_bin(const char* inFile, const char* outFile){ fclose(pfout); // total - printf(" count=%d write bytes=%lu \n", count, count*sizeof(float)); + printf(" count=%d write bytes=%d \n", count, (int)count*sizeof(float)); return true; } -- GitLab