cvs: php4 /ext/ming ming.c
| From: | Marcus Boerger | Date: | Tue, 12 Nov 2002 21:10:51 +0000 |
| Subject: | cvs: php4 /ext/ming ming.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-16050@lists.php.net to get a copy of this message | ||
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
);
}
/* }}} */