Changeset 917 for trunk/utils.c


Ignore:
Timestamp:
2012-06-23T06:49:59+02:00 (2 years ago)
Author:
moo
Message:

kill sign/const warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r903 r917  
    176176#endif 
    177177            case ZEND_JMP: 
    178                 assert(Z_OP(opline->op1).jmp_addr >= op_array->opcodes && Z_OP(opline->op1).jmp_addr - op_array->opcodes < op_array->last); 
     178                assert(Z_OP(opline->op1).jmp_addr >= op_array->opcodes && (zend_uint) (Z_OP(opline->op1).jmp_addr - op_array->opcodes) < op_array->last); 
    179179                Z_OP(opline->op1).opline_num = Z_OP(opline->op1).jmp_addr - op_array->opcodes; 
    180180                break; 
     
    189189            case ZEND_JMP_SET_VAR: 
    190190#endif 
    191                 assert(Z_OP(opline->op2).jmp_addr >= op_array->opcodes && Z_OP(opline->op2).jmp_addr - op_array->opcodes < op_array->last); 
     191                assert(Z_OP(opline->op2).jmp_addr >= op_array->opcodes && (zend_uint) (Z_OP(opline->op2).jmp_addr - op_array->opcodes) < op_array->last); 
    192192                Z_OP(opline->op2).opline_num = Z_OP(opline->op2).jmp_addr - op_array->opcodes; 
    193193                break; 
Note: See TracChangeset for help on using the changeset viewer.