Changeset 253


Ignore:
Timestamp:
2006-10-16T17:07:56+02:00 (8 years ago)
Author:
moo
Message:

1.2->1.1: merged [231]: fix zval reference handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1/processor/processor.m4

    r252 r253  
    156156                if (processor->reference) { 
    157157                    zval_ptr *ppzv; 
    158                     if (zend_hash_find(&processor->zvalptrs, (char *)src[0], sizeof(src[0]), (void**)&ppzv) == SUCCESS) { 
     158                    if (zend_hash_find(&processor->zvalptrs, (char *) &src[0], sizeof(src[0]), (void **) &ppzv) == SUCCESS) { 
    159159                        IFCOPY(` 
    160160                            dst[0] = *ppzv; 
     
    179179                        FIXPOINTER_EX(zval, pzv) 
    180180                    ') 
    181                     if (zend_hash_add(&processor->zvalptrs, (char *)src[0], sizeof(src[0]), (void*)&pzv, sizeof(pzv), NULL) == SUCCESS) { 
     181                    if (zend_hash_add(&processor->zvalptrs, (char *) &src[0], sizeof(src[0]), (void *) &pzv, sizeof(pzv), NULL) == SUCCESS) { 
    182182                        /* first add, go on */ 
    183183                        dnl fprintf(stderr, "mark[%p] = %p\n", src[0], pzv); 
Note: See TracChangeset for help on using the changeset viewer.