提交 bf7e2bff 编写于 作者: T tickduan

print %ld to force int type

上级 682f6e5c
......@@ -304,7 +304,7 @@ int SZ_compress_args_double(double *oriData, size_t r1, unsigned char* newByteDa
// check at least elements count
if(dataLength <= MIN_NUM_OF_ELEMENTS)
{
printf("error, double input elements count=%ld less than %d, so need not do compress.\n", dataLength, MIN_NUM_OF_ELEMENTS);
printf("error, double input elements count=%d less than %d, so need not do compress.\n", (int)dataLength, MIN_NUM_OF_ELEMENTS);
return SZ_LITTER_ELEMENT;
}
......
......@@ -306,7 +306,7 @@ int SZ_compress_args_float(float *oriData, size_t r1, unsigned char* newByteData
// check at least elements count
if(dataLength <= MIN_NUM_OF_ELEMENTS)
{
printf("error, input elements count=%ld less than %d, so need not do compress.\n", dataLength, MIN_NUM_OF_ELEMENTS);
printf("error, input elements count=%d less than %d, so need not do compress.\n", (int)dataLength, MIN_NUM_OF_ELEMENTS);
return SZ_LITTER_ELEMENT;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册