summaryrefslogtreecommitdiff
path: root/ext/standard/datetime.c
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2004-03-08 23:11:45 +0000
committerArd Biesheuvel <abies@php.net>2004-03-08 23:11:45 +0000
commitb303ba089ca0255f4ced082e9ca2908d2b3dade4 (patch)
tree4a1bec00593612ac465cd907928503bbdc8476c0 /ext/standard/datetime.c
parentf1ff65c155d4ace217f75a17e0add367b5f0aeca (diff)
downloadphp-git-b303ba089ca0255f4ced082e9ca2908d2b3dade4.tar.gz
More wordsize fixes
Diffstat (limited to 'ext/standard/datetime.c')
-rw-r--r--ext/standard/datetime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/datetime.c b/ext/standard/datetime.c
index 32441fc83a..82b06fb6d1 100644
--- a/ext/standard/datetime.c
+++ b/ext/standard/datetime.c
@@ -83,7 +83,8 @@ void php_mktime(INTERNAL_FUNCTION_PARAMETERS, int gm)
struct tm *ta, tmbuf;
time_t t, seconds;
int i, gmadjust, arg_count = ZEND_NUM_ARGS();
- int is_dst = -1, val, chgsecs = 0;
+ int is_dst = -1, chgsecs = 0;
+ long val;
if (arg_count > 7 || zend_get_parameters_array_ex(arg_count, arguments) == FAILURE) {
WRONG_PARAM_COUNT;