Browse Source

avoid 64bit compiler warning

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@224 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.2
Xuefer 15 years ago
parent
commit
a13dc3ae2a
  1. 2
      xcache.c

2
xcache.c

@ -566,7 +566,7 @@ static zend_op_array *xc_entry_install(xc_entry_t *xce, zend_file_handle *h TSRM
zend_class_entry *ce = CestToCePtr(ci->cest);
/* fix pointer to the be which inside class_table */
if (ce->parent) {
zend_uint class_idx = (/* class_num */ (int) ce->parent) - 1;
zend_uint class_idx = (/* class_num */ (int) (long) ce->parent) - 1;
assert(class_idx < i);
ci->cest.parent = new_cest_ptrs[class_idx];
}

Loading…
Cancel
Save