Changeset a75411f in git


Ignore:
Timestamp:
2006-10-10T00:35:56Z (14 years ago)
Author:
Xuefer <xuefer@…>
Branches:
1.2, 1.3, 3.0, 3.1, 3.2, master, trunk
Children:
2ec9c78
Parents:
99861b1
Message:

fix zval reference handling

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@231 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • processor/processor.m4

    r99861b1 ra75411f  
    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.