Changeset 484 in svn for trunk


Ignore:
Timestamp:
2007-10-07T06:31:19Z (8 years ago)
Author:
Xuefer
Message:

fix: zval_data type size mismatch

Location:
trunk/processor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/dispatch.m4

    r393 r484  
    22define(`DISPATCH', `
    33    DBG(`$0($*)')
     4    assert(sizeof($1) == sizeof(src->$2));
    45    ifelse(
    56        `$1', `zend_bool',        `PROC_INT(`$2', `u',  `$1')'
  • trunk/processor/processor.m4

    r482 r484  
    150150        DISPATCH(zval_data_type, type)
    151151        DISPATCH(zend_uchar, is_ref)
     152#ifdef ZEND_ENGINE_2
     153        DISPATCH(zend_uint, refcount)
     154#else
    152155        DISPATCH(zend_ushort, refcount)
     156#endif
    153157#ifdef ZEND_ENGINE_2_3
    154158        DISPATCH(zend_uchar, idx_type)
Note: See TracChangeset for help on using the changeset viewer.