mirror of https://github.com/ecmwf/eccodes.git
Fix compiler warning
This commit is contained in:
parent
b55341b5e5
commit
72705b0e28
|
@ -68,7 +68,7 @@ int main(int argc,char* argv[])
|
||||||
{
|
{
|
||||||
sprintf(key,"/subsetNumber=%d/blockNumber",i);
|
sprintf(key,"/subsetNumber=%d/blockNumber",i);
|
||||||
|
|
||||||
printf(" subsetNumber=%ld",i);
|
printf(" subsetNumber=%d",i);
|
||||||
/* read and print some data values */
|
/* read and print some data values */
|
||||||
CODES_CHECK(codes_get_long(h,key,&longVal),0);
|
CODES_CHECK(codes_get_long(h,key,&longVal),0);
|
||||||
printf(" blockNumber=%ld",longVal);
|
printf(" blockNumber=%ld",longVal);
|
||||||
|
|
Loading…
Reference in New Issue