/* {{{ php_find_gd_font
*/
-static gdFontPtr php_find_gd_font(int size)
+static gdFontPtr php_find_gd_font(int size TSRMLS_DC)
{
gdFontPtr font;
int ind_type;
- TSRMLS_FETCH();
switch (size) {
case 1:
convert_to_long_ex(SIZE);
- font = php_find_gd_font(Z_LVAL_PP(SIZE));
+ font = php_find_gd_font(Z_LVAL_PP(SIZE) TSRMLS_CC);
RETURN_LONG(arg ? font->h : font->w);
}
/* }}} */
x = Z_LVAL_PP(X);
size = Z_LVAL_PP(SIZE);
- font = php_find_gd_font(size);
+ font = php_find_gd_font(size TSRMLS_CC);
switch (mode) {
case 0: