1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 23:18:13 +02:00

- fixed compilation error

This commit is contained in:
Uwe Steinmann
2000-06-07 20:01:12 +00:00
parent 169606602b
commit 467b5e4892
+3 -3
View File
@@ -720,7 +720,7 @@ PHP_FUNCTION(pdf_get_font) {
RETURN_FALSE;
}
font = (int) PDF_get_value(pdf, "font");
font = (int) PDF_get_value(pdf, "font", 0);
RETURN_LONG(font);
}
@@ -747,7 +747,7 @@ PHP_FUNCTION(pdf_get_fontname) {
RETURN_FALSE;
}
fontname = (char *) PDF_get_parameter(pdf, "fontname");
fontname = (char *) PDF_get_parameter(pdf, "fontname", 0);
RETURN_STRING(fontname, 1);
}
@@ -774,7 +774,7 @@ PHP_FUNCTION(pdf_get_fontsize) {
RETURN_FALSE;
}
fontsize = PDF_get_value(pdf, "fontsize");
fontsize = PDF_get_value(pdf, "fontsize", 0);
RETURN_DOUBLE(fontsize);
}