summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-04-28 20:18:25 +0000
committerZeev Suraski <zeev@php.net>1999-04-28 20:18:25 +0000
commit1aaf98e54bc25eac01eaad6f2ea19e1633b6ac5d (patch)
tree6123c99212e23719816649ebb06cc5c679cfe8cc /ext/standard/basic_functions.c
parentcef5243b64cf18e22c630897bac4c8a24e1cd23a (diff)
downloadphp-git-1aaf98e54bc25eac01eaad6f2ea19e1633b6ac5d.tar.gz
get rid of some stupid warnings
Diffstat (limited to 'ext/standard/basic_functions.c')
-rw-r--r--ext/standard/basic_functions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index 41fbd43b58..26451856a0 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -1869,7 +1869,7 @@ pval test_class_get_property(zend_property_reference *property_reference)
}
switch (overloaded_property->element.type) {
case IS_LONG:
- printf("%d (numeric)\n", overloaded_property->element.value.lval);
+ printf("%ld (numeric)\n", overloaded_property->element.value.lval);
break;
case IS_STRING:
printf("'%s'\n", overloaded_property->element.value.str.val);
@@ -1907,7 +1907,7 @@ int test_class_set_property(zend_property_reference *property_reference, pval *v
}
switch (overloaded_property->element.type) {
case IS_LONG:
- printf("%d (numeric)\n", overloaded_property->element.value.lval);
+ printf("%ld (numeric)\n", overloaded_property->element.value.lval);
break;
case IS_STRING:
printf("'%s'\n", overloaded_property->element.value.str.val);
@@ -1943,7 +1943,7 @@ void test_class_call_function(INTERNAL_FUNCTION_PARAMETERS, zend_property_refere
}
switch (overloaded_property->element.type) {
case IS_LONG:
- printf("%d (numeric)\n", overloaded_property->element.value.lval);
+ printf("%ld (numeric)\n", overloaded_property->element.value.lval);
break;
case IS_STRING:
printf("'%s'\n", overloaded_property->element.value.str.val);