Changeset 8244810 in git


Ignore:
Timestamp:
2009-07-05T10:14:19Z (10 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
bc2a3aa
Parents:
c553ca6
Message:

PHP_6: incompatible pointer size_t *

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache.c

    rc553ca6 r8244810  
    873873    if (UG(unicode) && xce->name_type == IS_UNICODE) {
    874874        zstr basename;
    875         int basename_len;
     875        size_t basename_len;
    876876        php_u_basename(xce->name.ustr.val, xce->name.ustr.len, NULL, 0, &basename.u, &basename_len TSRMLS_CC);
    877877        return HASH_ZSTR_L(IS_UNICODE, basename, basename_len);
     
    882882        char *basename;
    883883        xc_hash_value_t h;
    884         UNISW(size_t, int) basename_len;
     884        size_t basename_len;
    885885#ifdef ZEND_ENGINE_2
    886886        php_basename(xce->name.str.val, xce->name.str.len, "", 0, &basename, &basename_len TSRMLS_CC);
Note: See TracChangeset for help on using the changeset viewer.