]> granicus.if.org Git - graphviz/commitdiff
gvpr: remove unnecessary casts
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 3 Apr 2022 16:30:02 +0000 (09:30 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 8 Apr 2022 01:45:13 +0000 (18:45 -0700)
lib/gvpr/gvpr.c

index d99fa521fac0826c13d4012dfb4a781c3d684c1f..0720d6d2c5a86cf4535cb46c411f650cfb9d7ffd 100644 (file)
@@ -863,12 +863,12 @@ static void *ing_open(char *f)
 
 static Agraph_t *ing_read(void *fp)
 {
-    return readG((Sfio_t *) fp);
+    return readG(fp);
 }
 
 static int ing_close(void *fp)
 {
-    return sfclose((Sfio_t *) fp);
+    return sfclose(fp);
 }
 
 static ingdisc ingDisc = { ing_open, ing_read, ing_close, 0 };