mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Fixed bug #27056 (ints used instead of longs inside some GD functions).
This commit is contained in:
parent
1c347eccf8
commit
472a3a2446
1 changed files with 2 additions and 2 deletions
|
@ -1066,7 +1066,7 @@ PHP_FUNCTION(imagelayereffect)
|
|||
PHP_FUNCTION(imagecolorallocatealpha)
|
||||
{
|
||||
zval *IM;
|
||||
int red, green, blue, alpha;
|
||||
long red, green, blue, alpha;
|
||||
gdImagePtr im;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zllll", &IM, &red, &green, &blue, &alpha) == FAILURE) {
|
||||
|
@ -3421,7 +3421,7 @@ PHP_FUNCTION(imagepstext)
|
|||
{
|
||||
zval *img, *fnt;
|
||||
int i, j;
|
||||
int _fg, _bg, x, y, size, space = 0, aa_steps = 4, width = 0;
|
||||
long _fg, _bg, x, y, size, space = 0, aa_steps = 4, width = 0;
|
||||
int *f_ind;
|
||||
int h_lines, v_lines, c_ind;
|
||||
int rd, gr, bl, fg_rd, fg_gr, fg_bl, bg_rd, bg_gr, bg_bl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue