ports/graphics/graphviz/files/patch-lib_gvpr_actions.c
2023-11-26 19:30:31 +01:00

11 lines
410 B
C

--- lib/gvpr/actions.c.orig 2023-09-11 18:30:04 UTC
+++ lib/gvpr/actions.c
@@ -33,7 +33,7 @@
#define KINDS(p) ((AGTYPE(p) == AGRAPH) ? "graph" : (AGTYPE(p) == AGNODE) ? "node" : "edge")
static int iofread(void *chan, char *buf, int bufsize) {
- return (int)read(fileno(chan), buf, bufsize);
+ return (int)read(fileno((FILE *)chan), buf, bufsize);
}
static int ioputstr(void *chan, const char *str) {