Browse Source

PHP6 build fix

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@660 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 13 years ago
parent
commit
4bec45f41c
  1. 2
      utils.c

2
utils.c

@ -618,7 +618,7 @@ void xc_hash_copy_if(HashTable *target, HashTable *source, copy_ctor_func_t pCop
target->pInternalPointer = NULL;
}
if (p->nKeyLength) {
zend_hash_quick_update(target, p->arKey, p->nKeyLength, p->h, p->pData, size, &new_entry);
zend_u_hash_quick_update(target, p->key.type, ZSTR(BUCKET_KEY_S(p)), p->nKeyLength, p->h, p->pData, size, &new_entry);
} else {
zend_hash_index_update(target, p->h, p->pData, size, &new_entry);
}

Loading…
Cancel
Save