helly Tue Nov 12 16:10:51 2002 EDT
Modified files:
/php4/ext/ming ming.c
Log:
fix warnings
Index: php4/ext/ming/ming.c
diff -u php4/ext/ming/ming.c:1.41 php4/ext/ming/ming.c:1.42
--- php4/ext/ming/ming.c:1.41 Tue Nov 12 10:09:43 2002
+++ php4/ext/ming/ming.c Tue Nov 12 16:10:51 2002
@@ -1201,7 +1201,7 @@
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 @@
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
);
}
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php