com php-src: fix zpp: ext/calendar/cal_unix.c
| From: | Anatol Belski | Date: | Thu, 21 Aug 2014 18:32:39 +0000 |
| Subject: | com php-src: fix zpp: ext/calendar/cal_unix.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-80692@lists.php.net to get a copy of this message | ||
Commit: 96a570cb0384b4f18de99699c893fb24972b7912
Author: Anatol Belski <ab@php.net> Thu, 21 Aug 2014 20:32:39 +0200
Parents: 4a85ec874a6d165f8ead5ff84298aebf41b11319
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=96a570cb0384b4f18de99699c893fb24972b7912
Log:
fix zpp
Changed paths:
M ext/calendar/cal_unix.c
Diff:
diff --git a/ext/calendar/cal_unix.c b/ext/calendar/cal_unix.c
index d5eff4b..6149a0c 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;
}