mirror of
https://git.freebsd.org/ports.git
synced 2025-05-07 11:20:46 -04:00
11 lines
410 B
C
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) {
|