tzif-display.cpp: Fix compiling for nevis

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3b3382a074
Author: Hendi <hendi48@freenet.de>
Date: 2022-12-21 (Wed, 21 Dec 2022)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Hendi
2022-12-21 19:11:51 +01:00
committed by vanhofen
parent 4e46fca84d
commit c15e550b2c

View File

@@ -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");