summaryrefslogtreecommitdiff
path: root/ext/standard/sunfuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/sunfuncs.c')
-rw-r--r--ext/standard/sunfuncs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/sunfuncs.c b/ext/standard/sunfuncs.c
index edcc7265f1..2eea641f4d 100644
--- a/ext/standard/sunfuncs.c
+++ b/ext/standard/sunfuncs.c
@@ -156,7 +156,8 @@ static void php_do_date_sunrise_sunset(INTERNAL_FUNCTION_PARAMETERS, int calc_su
{
zval *date;
double latitude, longitude, zenith, gmt_offset, ret;
- int time, N, retformat;
+ int time, N;
+ long retformat;
char retstr[6];
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|ldddd", &date, &retformat, &latitude, &longitude, &zenith, &gmt_offset) == FAILURE) {