From d0d0c0004af7c993962c00fd74f7e2b152fca73f Mon Sep 17 00:00:00 2001 From: Hendi Date: Wed, 21 Dec 2022 19:11:51 +0100 Subject: [PATCH] tzif-display.cpp: Fix compiling for nevis --- src/system/tzif-display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/tzif-display.cpp b/src/system/tzif-display.cpp index f5f8b8995..5f137eb53 100644 --- a/src/system/tzif-display.cpp +++ b/src/system/tzif-display.cpp @@ -111,7 +111,7 @@ char* tzif2_handle( timezonefileheader *tzh, const char *tzfile_buffer_ptr, size return NULL; } - printf("tzif2 header found at position %ld\n", start_ptr - tzfile_buffer_ptr); + printf("tzif2 header found at position %d\n", (int)(start_ptr - tzfile_buffer_ptr)); if ( read_tz_header( tzh, (char*) start_ptr ) == false ) { printf("Error reading header file version 2\n");