Changeset 90 for trunk/processor/head.m4


Ignore:
Timestamp:
2006-07-16T08:06:46+02:00 (8 years ago)
Author:
moo
Message:

kill compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/head.m4

    r58 r90  
    130130 * return class_index + 1 
    131131 */ 
    132 static zend_uint xc_get_class_num(processor_t *processor, zend_class_entry *ce) { 
    133     zend_uint i; 
     132static zend_ulong xc_get_class_num(processor_t *processor, zend_class_entry *ce) { 
     133    zend_ulong i; 
    134134    const xc_entry_t *xce = processor->xce_src; 
    135135    zend_class_entry *ceptr; 
     
    147147    } 
    148148    assert(0); 
    149     return (zend_uint) -1; 
     149    return (zend_ulong) -1; 
    150150} 
    151151/* }}} */ 
    152152/* {{{ xc_get_class */ 
    153153#ifdef ZEND_ENGINE_2 
    154 static zend_class_entry *xc_get_class(processor_t *processor, zend_uint class_num) { 
     154static zend_class_entry *xc_get_class(processor_t *processor, zend_ulong class_num) { 
    155155    /* must be parent or currrent class */ 
    156156    assert(class_num <= processor->active_class_num); 
     
    255255            dst = NULL; 
    256256            goto err_alloc; 
    257             return NULL; 
    258257        } 
    259258        IFASSERT(`oldp = processor.p;') 
Note: See TracChangeset for help on using the changeset viewer.