1
0
Fork 0

kill compiler warnings

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@91 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
Xuefer 2006-07-16 06:30:58 +00:00
parent 61b7b1df15
commit 75013592ee
2 changed files with 3 additions and 3 deletions

View File

@ -464,7 +464,7 @@ DEF_STRUCT_P_FUNC(`zend_op_array', , `dnl {{{
IFRESTORE(`
#ifdef ZEND_ENGINE_2
if (dst->scope) {
dst->scope = xc_get_class(processor, (int) dst->scope);
dst->scope = xc_get_class(processor, (zend_ulong) dst->scope);
xc_fix_method(processor, dst);
}
#endif
@ -484,7 +484,7 @@ DEF_STRUCT_P_FUNC(`zend_op_array', , `dnl {{{
#ifdef ZEND_ENGINE_2
IFRESTORE(`
if (dst->scope) {
dst->scope = xc_get_class(processor, (int) dst->scope);
dst->scope = xc_get_class(processor, (zend_ulong) dst->scope);
xc_fix_method(processor, dst);
}
DONE(scope)

View File

@ -1141,7 +1141,7 @@ static int xcache_admin_auth_check(TSRMLS_D) /* {{{ */
unsigned char digest[16];
PHP_MD5Init(&context);
PHP_MD5Update(&context, Z_STRVAL_PP(pass), Z_STRLEN_PP(pass));
PHP_MD5Update(&context, (unsigned char *) Z_STRVAL_PP(pass), Z_STRLEN_PP(pass));
PHP_MD5Final(digest, &context);
md5str[0] = '\0';