summaryrefslogtreecommitdiff
path: root/ext/calendar
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-21 20:32:39 +0200
committerAnatol Belski <ab@php.net>2014-08-21 20:32:39 +0200
commit96a570cb0384b4f18de99699c893fb24972b7912 (patch)
tree29ab468c86f0e12ff94a3d8c2084ae378c082b13 /ext/calendar
parent4a85ec874a6d165f8ead5ff84298aebf41b11319 (diff)
downloadphp-git-96a570cb0384b4f18de99699c893fb24972b7912.tar.gz
fix zpp
Diffstat (limited to 'ext/calendar')
-rw-r--r--ext/calendar/cal_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/calendar/cal_unix.c b/ext/calendar/cal_unix.c
index d5eff4b90a..6149a0c054 100644
--- a/ext/calendar/cal_unix.c
+++ b/ext/calendar/cal_unix.c
@@ -31,7 +31,7 @@ PHP_FUNCTION(unixtojd)
time_t ts = 0;
struct tm *ta, tmbuf;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &ts) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|i", &ts) == FAILURE) {
return;
}