Changeset 91 in svn


Ignore:
Timestamp:
2006-07-16T08:30:58+02:00 (9 years ago)
Author:
Xuefer
Message:

kill compiler warnings

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/processor.m4

    r89 r91  
    465465#ifdef ZEND_ENGINE_2
    466466        if (dst->scope) {
    467             dst->scope = xc_get_class(processor, (int) dst->scope);
     467            dst->scope = xc_get_class(processor, (zend_ulong) dst->scope);
    468468            xc_fix_method(processor, dst);
    469469        }
     
    485485    IFRESTORE(`
    486486        if (dst->scope) {
    487             dst->scope = xc_get_class(processor, (int) dst->scope);
     487            dst->scope = xc_get_class(processor, (zend_ulong) dst->scope);
    488488            xc_fix_method(processor, dst);
    489489        }
  • trunk/xcache.c

    r90 r91  
    11421142
    11431143        PHP_MD5Init(&context);
    1144         PHP_MD5Update(&context, Z_STRVAL_PP(pass), Z_STRLEN_PP(pass));
     1144        PHP_MD5Update(&context, (unsigned char *) Z_STRVAL_PP(pass), Z_STRLEN_PP(pass));
    11451145        PHP_MD5Final(digest, &context);
    11461146
Note: See TracChangeset for help on using the changeset viewer.