summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <github@derickrethans.nl>2015-04-29 00:25:29 +0100
committerDerick Rethans <github@derickrethans.nl>2015-04-29 00:25:29 +0100
commitdf49ce3d5a0176824330253dff7961a444724767 (patch)
treecee7157d72cafd593e29516d77f3a30bd7da05e2
parent912e42fc2319246a05a546731fd22018459d4dd8 (diff)
downloadphp-git-df49ce3d5a0176824330253dff7961a444724767.tar.gz
This doesn't work in PHP 5.5 - sigh, I wish the libs were kept in sync
-rw-r--r--ext/date/lib/parse_tz.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/date/lib/parse_tz.c b/ext/date/lib/parse_tz.c
index 8a48fadb63..ecd4899d77 100644
--- a/ext/date/lib/parse_tz.c
+++ b/ext/date/lib/parse_tz.c
@@ -261,12 +261,12 @@ void timelib_dump_tzinfo(timelib_tzinfo *tz)
printf("Geo Location: %f,%f\n", tz->location.latitude, tz->location.longitude);
printf("Comments:\n%s\n", tz->location.comments);
printf("BC: %s\n", tz->bc ? "" : "yes");
- printf("UTC/Local count: " TIMELIB_ULONG_FMT "\n", (timelib_ulong) tz->bit32.ttisgmtcnt);
- printf("Std/Wall count: " TIMELIB_ULONG_FMT "\n", (timelib_ulong) tz->bit32.ttisstdcnt);
- printf("Leap.sec. count: " TIMELIB_ULONG_FMT "\n", (timelib_ulong) tz->bit32.leapcnt);
- printf("Trans. count: " TIMELIB_ULONG_FMT "\n", (timelib_ulong) tz->bit32.timecnt);
- printf("Local types count: " TIMELIB_ULONG_FMT "\n", (timelib_ulong) tz->bit32.typecnt);
- printf("Zone Abbr. count: " TIMELIB_ULONG_FMT "\n", (timelib_ulong) tz->bit32.charcnt);
+ printf("UTC/Local count: %lu\n", (unsigned long) tz->bit32.ttisgmtcnt);
+ printf("Std/Wall count: %lu\n", (unsigned long) tz->bit32.ttisstdcnt);
+ printf("Leap.sec. count: %lu\n", (unsigned long) tz->bit32.leapcnt);
+ printf("Trans. count: %lu\n", (unsigned long) tz->bit32.timecnt);
+ printf("Local types count: %lu\n", (unsigned long) tz->bit32.typecnt);
+ printf("Zone Abbr. count: %lu\n", (unsigned long) tz->bit32.charcnt);
printf ("%8s (%12s) = %3d [%5ld %1d %3d '%s' (%d,%d)]\n",
"", "", 0,