Compiler warning

This commit is contained in:
Shahram Najm 2018-06-07 17:27:18 +01:00
parent b20d83e501
commit d3fbd3f623
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ void grib_vdarray_print(const char* title, const grib_vdarray* vdarray)
Assert(vdarray);
printf("%s: vdarray.n=%lu\n", title, (unsigned long)vdarray->n);
for (i=0; i<vdarray->n; i++) {
sprintf(text, " vdarray->v[%ld]", i);
sprintf(text, " vdarray->v[%lu]", (unsigned long)i);
grib_darray_print(text, vdarray->v[i]);
}
printf("\n");