Testing: Remove compile warning

This commit is contained in:
Shahram Najm 2020-12-01 12:16:01 +00:00
parent 26fdc3b425
commit 10ad488ed7
1 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,6 @@
#include "eccodes.h"
#include <assert.h>
int main(int argc, char* argv[])
{
char *filename;
@ -29,7 +28,7 @@ int main(int argc, char* argv[])
if (err) return err;
for (i = 0; i < num_messages; ++i) {
printf("%lu\n", offsets[i]);
printf("%lu\n", (unsigned long)offsets[i]);
}
free(offsets);
return 0;