Changeset 61b7b1d in git


Ignore:
Timestamp:
2006-07-16T06:06:46Z (13 years ago)
Author:
Xuefer <xuefer@…>
Branches:
1.1, 1.2, 1.3, 3.0, 3.1, 3.2, master, trunk
Children:
7501359
Parents:
358fb1e
Message:

kill compiler warnings

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@90 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • coverager.c

    r8c8c7aa r61b7b1d  
    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)) {
  • processor/head.m4

    r2fe9441 r61b7b1d  
    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;')
  • processor/main.m4

    r7375402 r61b7b1d  
    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    }
  • xcache.c

    rf24ac86 r61b7b1d  
    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.