Skip to content

Commit df49ce3

Browse files
committed
This doesn't work in PHP 5.5 - sigh, I wish the libs were kept in sync
1 parent 912e42f commit df49ce3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ext/date/lib/parse_tz.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,12 @@ void timelib_dump_tzinfo(timelib_tzinfo *tz)
261261
printf("Geo Location: %f,%f\n", tz->location.latitude, tz->location.longitude);
262262
printf("Comments:\n%s\n", tz->location.comments);
263263
printf("BC: %s\n", tz->bc ? "" : "yes");
264-
printf("UTC/Local count: " TIMELIB_ULONG_FMT "\n", (timelib_ulong) tz->bit32.ttisgmtcnt);
265-
printf("Std/Wall count: " TIMELIB_ULONG_FMT "\n", (timelib_ulong) tz->bit32.ttisstdcnt);
266-
printf("Leap.sec. count: " TIMELIB_ULONG_FMT "\n", (timelib_ulong) tz->bit32.leapcnt);
267-
printf("Trans. count: " TIMELIB_ULONG_FMT "\n", (timelib_ulong) tz->bit32.timecnt);
268-
printf("Local types count: " TIMELIB_ULONG_FMT "\n", (timelib_ulong) tz->bit32.typecnt);
269-
printf("Zone Abbr. count: " TIMELIB_ULONG_FMT "\n", (timelib_ulong) tz->bit32.charcnt);
264+
printf("UTC/Local count: %lu\n", (unsigned long) tz->bit32.ttisgmtcnt);
265+
printf("Std/Wall count: %lu\n", (unsigned long) tz->bit32.ttisstdcnt);
266+
printf("Leap.sec. count: %lu\n", (unsigned long) tz->bit32.leapcnt);
267+
printf("Trans. count: %lu\n", (unsigned long) tz->bit32.timecnt);
268+
printf("Local types count: %lu\n", (unsigned long) tz->bit32.typecnt);
269+
printf("Zone Abbr. count: %lu\n", (unsigned long) tz->bit32.charcnt);
270270

271271
printf ("%8s (%12s) = %3d [%5ld %1d %3d '%s' (%d,%d)]\n",
272272
"", "", 0,

0 commit comments

Comments
 (0)