Ignore:
Timestamp:
2006-10-10T02:35:56+02:00 (8 years ago)
Author:
moo
Message:

fix zval reference handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/processor.m4

    r230 r231  
    162162                if (processor->reference) { 
    163163                    zval_ptr *ppzv; 
    164                     if (zend_hash_find(&processor->zvalptrs, (char *)src[0], sizeof(src[0]), (void**)&ppzv) == SUCCESS) { 
     164                    if (zend_hash_find(&processor->zvalptrs, (char *) &src[0], sizeof(src[0]), (void **) &ppzv) == SUCCESS) { 
    165165                        IFCOPY(` 
    166166                            dst[0] = *ppzv; 
     
    184184                        zval_ptr pzv = dst[0]; 
    185185                    ') 
    186                     if (zend_hash_add(&processor->zvalptrs, (char *)src[0], sizeof(src[0]), (void*)&pzv, sizeof(pzv), NULL) == SUCCESS) { 
     186                    if (zend_hash_add(&processor->zvalptrs, (char *) &src[0], sizeof(src[0]), (void *) &pzv, sizeof(pzv), NULL) == SUCCESS) { 
    187187                        /* first add, go on */ 
    188188                        dnl fprintf(stderr, "mark[%p] = %p\n", src[0], pzv); 
Note: See TracChangeset for help on using the changeset viewer.