Changeset 8597094 in git


Ignore:
Timestamp:
2006-10-16T15:07:56Z (13 years ago)
Author:
Xuefer <xuefer@…>
Branches:
1.1
Children:
3563d9e
Parents:
7414e21
Message:

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

git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.1@253 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • processor/processor.m4

    r7414e21 r8597094  
    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.