diff options
Diffstat (limited to 'ext/calendar/cal_unix.c')
-rw-r--r-- | ext/calendar/cal_unix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/calendar/cal_unix.c b/ext/calendar/cal_unix.c index 80853eac3d..cb3ff68ac9 100644 --- a/ext/calendar/cal_unix.c +++ b/ext/calendar/cal_unix.c @@ -34,7 +34,7 @@ PHP_FUNCTION(unixtojd) struct tm *ta, tmbuf; int myargc=ZEND_NUM_ARGS(); - if ((myargc > 1) || (zend_get_parameters(ht,myargc, ×tamp) != SUCCESS)) { + if ((myargc > 1) || (zend_get_parameters(ht, myargc, ×tamp) != SUCCESS)) { WRONG_PARAM_COUNT; } @@ -50,7 +50,7 @@ PHP_FUNCTION(unixtojd) } ta = php_localtime_r(&t, &tmbuf); - jdate = GregorianToSdn(ta->tm_year+1900, ta->tm_mon+1,ta->tm_mday); + jdate = GregorianToSdn(ta->tm_year+1900, ta->tm_mon+1, ta->tm_mday); RETURN_LONG(jdate); } @@ -63,7 +63,7 @@ PHP_FUNCTION(jdtounix) pval *jday; long uday; - if ((ZEND_NUM_ARGS()!= 1) || (zend_get_parameters(ht,1, &jday) != SUCCESS)) { + if ((ZEND_NUM_ARGS()!= 1) || (zend_get_parameters(ht, 1, &jday) != SUCCESS)) { WRONG_PARAM_COUNT; } |