Changeset 90


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

kill compiler warnings

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/coverager.c

    r51 r90  
    206206    zstr s;
    207207    char *outfilename;
    208     int dumpdir_len, outfilelen, size, alloc_len = 0;
     208    int dumpdir_len, outfilelen, alloc_len = 0;
     209    uint size;
    209210
    210211    if (!XG(coverages)) {
  • 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;')
  • trunk/processor/main.m4

    r12 r90  
    9292    if ($2) {
    9393        IFSTORE(`$1 = (zend_class_entry *) xc_get_class_num(processor, $2);')
    94         IFRESTORE(`$1 = xc_get_class(processor, (zend_uint) $2);')
     94        IFRESTORE(`$1 = xc_get_class(processor, (zend_ulong) $2);')
    9595        IFDASM(`add_assoc_stringl_ex(dst, ZEND_STRS("$3"), $2->name, strlen($2->name), 1);')
    9696    }
  • trunk/xcache.c

    r86 r90  
    19601960}
    19611961/* }}} */
    1962 static int xc_config_long(long *p, char *name, char *default_value) /* {{{ */
     1962static int xc_config_long(zend_ulong *p, char *name, char *default_value) /* {{{ */
    19631963{
    19641964    char *value;
Note: See TracChangeset for help on using the changeset viewer.