summaryrefslogtreecommitdiff
path: root/ext/ming
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-11-12 21:11:01 +0000
committerMarcus Boerger <helly@php.net>2002-11-12 21:11:01 +0000
commit0b8c9fc5b24f021b0682ef7460f96c055c8133c6 (patch)
treee0c3163ea81c365c7d788f45cdcf91e6a10b66d5 /ext/ming
parentb855dcc876ffbfa05166764f5f34f2609dae2f11 (diff)
downloadphp-git-0b8c9fc5b24f021b0682ef7460f96c055c8133c6.tar.gz
fix warnings
Diffstat (limited to 'ext/ming')
-rw-r--r--ext/ming/ming.c4
1 files changed, 2 insertions, 2 deletions
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
);
}
/* }}} */