From c15e550b2cd92d7a8dbeed51bd3b861f36ba7580 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 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/3b3382a074cd65676f045bf80feb812fe00ebeea Author: Hendi Date: 2022-12-21 (Wed, 21 Dec 2022) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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");