Changeset 238 in svn for branches/1.0


Ignore:
Timestamp:
2006-10-11T05:23:39Z (9 years ago)
Author:
Xuefer
Message:

trunk->1.0: merged [231] fix zval reference handling

File:
1 edited

Legend:

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

    r99 r238  
    150150                if (processor->reference) {
    151151                    zval_ptr *ppzv;
    152                     if (zend_hash_find(&processor->zvalptrs, (char *)src[0], sizeof(src[0]), (void**)&ppzv) == SUCCESS) {
     152                    if (zend_hash_find(&processor->zvalptrs, (char *) &src[0], sizeof(src[0]), (void **) &ppzv) == SUCCESS) {
    153153                        IFCOPY(`
    154154                            dst[0] = *ppzv;
     
    172172                        zval_ptr pzv = dst[0];
    173173                    ')
    174                     if (zend_hash_add(&processor->zvalptrs, (char *)src[0], sizeof(src[0]), (void*)&pzv, sizeof(pzv), NULL) == SUCCESS) {
     174                    if (zend_hash_add(&processor->zvalptrs, (char *) &src[0], sizeof(src[0]), (void *) &pzv, sizeof(pzv), NULL) == SUCCESS) {
    175175                        /* first add, go on */
    176176                        dnl fprintf(stderr, "mark[%p] = %p\n", src[0], pzv);
Note: See TracChangeset for help on using the changeset viewer.