print %ld to force int type
This commit is contained in:
parent
682f6e5c35
commit
bf7e2bff4f
|
@ -304,7 +304,7 @@ int SZ_compress_args_double(double *oriData, size_t r1, unsigned char* newByteDa
|
||||||
// check at least elements count
|
// check at least elements count
|
||||||
if(dataLength <= MIN_NUM_OF_ELEMENTS)
|
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;
|
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
|
// check at least elements count
|
||||||
if(dataLength <= MIN_NUM_OF_ELEMENTS)
|
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;
|
return SZ_LITTER_ELEMENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue