From 1ccad1ab7d017408ce20ce9af4fe53845a3c7c62 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 15 Dec 1999 15:27:51 +0000 Subject: fixed some compile errors. --- ext/fdf/fdf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/fdf/fdf.c b/ext/fdf/fdf.c index 4303ffcaa1..81dd3782cc 100644 --- a/ext/fdf/fdf.c +++ b/ext/fdf/fdf.c @@ -214,7 +214,7 @@ PHP_FUNCTION(fdf_get_value) { RETURN_FALSE; } - err = FDFGetValue(fdf, arg2->value.str.val, NULL, 0, &nr); + err = FDFGetValue(fdf, (*arg2)->value.str.val, NULL, 0, &nr); if(err != FDFErcOK) printf("Aiii, error\n"); /* In the inofficial version of FdfTK 4.0 (as FDFGetVersion says. The @@ -225,7 +225,7 @@ PHP_FUNCTION(fdf_get_value) { if(strcmp(FDFGetVersion(), "2.0")) nr++; buffer = emalloc(nr); - err = FDFGetValue(fdf, arg2->value.str.val, buffer, nr, &nr); + err = FDFGetValue(fdf, (*arg2)->value.str.val, buffer, nr, &nr); if(err != FDFErcOK) printf("Aiii, error\n"); @@ -553,7 +553,7 @@ PHP_FUNCTION(fdf_add_template) { } filespec.FS = NULL; - filespec.F = arg3->value.str.val; + filespec.F = (*arg3)->value.str.val; filespec.Mac = NULL; filespec.DOS = NULL; filespec.Unix = NULL; -- cgit v1.2.1