Changeset 638 in svn


Ignore:
Timestamp:
2009-07-05T12:14:19+02:00 (6 years ago)
Author:
Xuefer
Message:

PHP_6: incompatible pointer size_t *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r637 r638  
    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.