summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-26 11:23:25 +0200
committerAnatol Belski <ab@php.net>2014-08-26 11:26:53 +0200
commit202e8db1dc8e1203039327d81ce6fd82c1c2d909 (patch)
tree05868887a0786140e5a867333b5e374f6a34fe51 /main/php.h
parent7cbbb371270fe369eb30a570df95bbdcf42a82e4 (diff)
downloadphp-git-202e8db1dc8e1203039327d81ce6fd82c1c2d909.tar.gz
fixed several long vs zend_long casts
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php.h b/main/php.h
index 8ee83e424d..11a8a64401 100644
--- a/main/php.h
+++ b/main/php.h
@@ -434,7 +434,7 @@ END_EXTERN_C()
#else /* ! (CRAY || __arm) */
#define XtOffset(p_type, field) \
- ((long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
+ ((zend_long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
#endif /* !CRAY */
#endif /* ! XtOffset */