From: Uwe Steinmann Date: Wed, 7 Jun 2000 20:01:12 +0000 (+0000) Subject: - fixed compilation error X-Git-Tag: PRE_EIGHT_BYTE_ALLOC_PATCH~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=467b5e489264f2432edd332022d64915e8c3cf49;p=php - fixed compilation error --- diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c index a24083d5c7..d461b1d68b 100644 --- a/ext/pdf/pdf.c +++ b/ext/pdf/pdf.c @@ -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); }