diff --git a/src/kit/taospack/taospack.c b/src/kit/taospack/taospack.c index f3b47cb88e56f1279ecea2931976530cf6b29ddd..067d419b11711bb60cea14290d4a4638d14ec255 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=%d \n", count, (int)count*sizeof(float)); + printf(" count=%d write bytes=%d \n", count, (int)(count*sizeof(float))); return true; }