Changeset 1281 in svn for trunk/xcache/xc_sandbox.c


Ignore:
Timestamp:
2013-07-08T10:00:36+02:00 (2 years ago)
Author:
Xuefer
Message:

remove php 4 support completely

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache/xc_sandbox.c

    r1275 r1281  
    195195#if 0 && TODO
    196196    {
    197         xc_cest_t tmp_cest;
    198         zend_hash_copy(&TG(class_table), &XG(internal_class_table), NULL, (void *) &tmp_cest, sizeof(tmp_cest));
     197        zend_class_entry *dummy_class_entry;
     198        zend_hash_copy(&TG(class_table), &XG(internal_class_table), NULL, (void *) &dummy_class_entry, sizeof(dummy_class_entry));
    199199    }
    200200#endif
     
    278278    /* install class */
    279279    while (b != NULL) {
    280         xc_install_class(sandbox->filename, (xc_cest_t*) b->pData, -1,
     280        xc_install_class(sandbox->filename, *(zend_class_entry **)b->pData, -1,
    281281                BUCKET_KEY_TYPE(b), ZSTR(BUCKET_KEY_S(b)), b->nKeyLength, b->h TSRMLS_CC);
    282282        b = b->pListNext;
Note: See TracChangeset for help on using the changeset viewer.