From ede5809b8d52db9b09e0e76ae9948c84d39c6931 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 15 Nov 2022 22:43:21 +0100 Subject: [PATCH] src/system/tzif-display.cpp: fix wrong var type in debug output Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/8080d9e3c3fe6ae788f0979940eacfb54f9a6754 Author: Thilo Graf Date: 2022-11-15 (Tue, 15 Nov 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 3db212f8c..f5f8b8995 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 %d\n", start_ptr - tzfile_buffer_ptr); + printf("tzif2 header found at position %ld\n", start_ptr - tzfile_buffer_ptr); if ( read_tz_header( tzh, (char*) start_ptr ) == false ) { printf("Error reading header file version 2\n");