summaryrefslogtreecommitdiff
path: root/Zend/zend_virtual_cwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_virtual_cwd.c')
-rw-r--r--Zend/zend_virtual_cwd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend_virtual_cwd.c b/Zend/zend_virtual_cwd.c
index a31f40b128..665829d685 100644
--- a/Zend/zend_virtual_cwd.c
+++ b/Zend/zend_virtual_cwd.c
@@ -593,8 +593,8 @@ static inline zend_ulong realpath_cache_key(const char *path, int path_len TSRML
return 0;
}
- for (h = Z_UI(2166136261); bucket_key < e;) {
- h *= Z_UI(16777619);
+ for (h = Z_UL(2166136261); bucket_key < e;) {
+ h *= Z_UL(16777619);
h ^= *bucket_key++;
}
HeapFree(GetProcessHeap(), 0, (LPVOID)bucket_key_start);
@@ -607,8 +607,8 @@ static inline zend_ulong realpath_cache_key(const char *path, int path_len) /* {
register zend_ulong h;
const char *e = path + path_len;
- for (h = Z_UI(2166136261); path < e;) {
- h *= Z_UI(16777619);
+ for (h = Z_UL(2166136261); path < e;) {
+ h *= Z_UL(16777619);
h ^= *path++;
}