Changeset 229

Show
Ignore:
Timestamp:
07/19/06 11:52:59 (2 years ago)
Author:
bart
Message:

Fixed small typo in last update

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/ea_dasm.c

    r228 r229  
    147147            break; 
    148148        case IS_BOOL: 
    149             if (v->value.lval) { 
     149            if (Z_LVAL_P(v)) { 
    150150                str = emalloc(sizeof("bool(true)")); 
    151151                strcpy(str, "bool(true)"); 
     
    168168            break; 
    169169        case IS_CONSTANT: 
    170             size = Z_STRLEN(v) + 1 + sizeof("constant('')"); 
     170            size = Z_STRLEN_P(v) + 1 + sizeof("constant('')"); 
    171171            str = emalloc(size); 
    172172            snprintf(str, size, "constant('%s')", Z_STRVAL_P(v));