From 1ec8ed51c44df6d29157c141e53c8f5a0c1d9764 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 14 Jul 2021 17:43:02 +0100 Subject: [PATCH] Examples: remove warning --- examples/C/bufr_read_temp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/C/bufr_read_temp.c b/examples/C/bufr_read_temp.c index 0e7056372..7a3610671 100644 --- a/examples/C/bufr_read_temp.c +++ b/examples/C/bufr_read_temp.c @@ -84,7 +84,7 @@ int main(int argc, char* argv[]) sprintf(key_name, "/verticalSoundingSignificance=4/pressure"); CODES_CHECK(codes_get_size(h, key_name, &sigt_len), 0); - printf("Number of T significant levels: %lu\n", sigt_len); + printf("Number of T significant levels: %lu\n", (unsigned long)sigt_len); /* Allocate memory for the values to be read. Each * parameter must have the same number of values. */