]> granicus.if.org Git - graphviz/commitdiff
remove now-unnecessary cast
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 8 Aug 2020 00:31:23 +0000 (17:31 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 13 Aug 2020 14:38:13 +0000 (07:38 -0700)
The function and the pointer it is being stored into now align in their
signature.

lib/gvpr/gvpr.c

index b31d4b9776d07b44ad41282192f16bcaafa3c09d..791bcc53944d017be8d8c8aa35826c28a000a6a6 100644 (file)
@@ -971,7 +971,7 @@ int gvpr (int argc, char *argv[], gvpropts * uopts)
     info.outFile = opts->outFile;
     info.argc = opts->argc;
     info.argv = opts->argv;
-    info.errf = (Exerror_f)gverrorf;
+    info.errf = gverrorf;
     if (uopts) 
        info.flags = uopts->flags; 
     else