]> granicus.if.org Git - php/commitdiff
fixed some compile errors.
authorUwe Steinmann <steinm@php.net>
Wed, 15 Dec 1999 15:27:51 +0000 (15:27 +0000)
committerUwe Steinmann <steinm@php.net>
Wed, 15 Dec 1999 15:27:51 +0000 (15:27 +0000)
ext/fdf/fdf.c

index 4303ffcaa19d2f8d0535b625af2705e2e3206408..81dd3782cc7c25ef78369bdc748e914ed28194d9 100644 (file)
@@ -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;