From: Marcus Boerger Date: Tue, 12 Nov 2002 21:11:01 +0000 (+0000) Subject: fix warnings X-Git-Tag: php-4.3.0RC1~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b8c9fc5b24f021b0682ef7460f96c055c8133c6;p=php fix warnings --- diff --git a/ext/ming/ming.c b/ext/ming/ming.c index 78d5d8a0e3..bfaa8e44fe 100644 --- a/ext/ming/ming.c +++ b/ext/ming/ming.c @@ -1201,7 +1201,7 @@ PHP_FUNCTION(swfgradient_addEntry) WRONG_PARAM_COUNT; } convert_to_long_ex(za); - a = Z_LVAL_PP(za); + a = BYTE_Z_LVAL_PP(za); } else { WRONG_PARAM_COUNT; } @@ -1212,7 +1212,7 @@ PHP_FUNCTION(swfgradient_addEntry) convert_to_long_ex(b); SWFGradient_addEntry( getGradient(getThis() TSRMLS_CC), - FLOAT_Z_DVAL_PP(ratio), Z_LVAL_PP(r), Z_LVAL_PP(g), Z_LVAL_PP(b), a + FLOAT_Z_DVAL_PP(ratio), BYTE_Z_LVAL_PP(r), BYTE_Z_LVAL_PP(g), BYTE_Z_LVAL_PP(b), a ); } /* }}} */