Ignore:
Timestamp:
2012-07-19T17:25:07+02:00 (2 years ago)
Author:
moo
Message:

kill signed warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_optimizer/xc_optimizer.c

    r1003 r1008  
    2929#endif 
    3030 
    31 typedef int bbid_t; 
    32 enum { 
    33     BBID_INVALID = -1 
    34 }; 
     31typedef zend_uint bbid_t; 
     32#define BBID_INVALID ((bbid_t) -1) 
    3533/* {{{ basic block */ 
    3634typedef struct _bb_t { 
     
    4846#endif 
    4947 
    50     int        opnum; /* opnum after joining basic block */ 
     48    zend_uint  opnum; /* opnum after joining basic block */ 
    5149} bb_t; 
    5250/* }}} */ 
     
    5856static int op_array_convert_switch(zend_op_array *op_array) /* {{{ */ 
    5957{ 
    60     int i; 
     58    zend_uint i; 
    6159 
    6260    if (op_array->brk_cont_array == NULL) { 
     
    445443 
    446444    for (i = 0; i < op_array->last_try_catch; i ++) { 
    447         int j; 
     445        zend_uint j; 
    448446        zend_try_catch_element *e = &op_array->try_catch_array[i]; 
    449447        for (j = e->try_op; j < e->catch_op; j ++) { 
Note: See TracChangeset for help on using the changeset viewer.