SHA256
1
0
forked from pool/dia
dia/dia-64bit-clean.patch

23 lines
521 B
Diff

--- app/load_save.c
+++ app/load_save.c
@@ -940,7 +940,7 @@
#else
ret = 0; /* less paranoia on windoze */
#endif
- file = fdopen(fildes,"wb");
+ file = (FILE *) fdopen(fildes,"wb");
/* Now write the data in the temporary file name. */
--- app/paginate_psprint.c
+++ app/paginate_psprint.c
@@ -391,7 +391,7 @@
#ifdef G_OS_WIN32
file = win32_printer_open (printcmd);
#else
- file = popen(printcmd, "w");
+ file = (FILE *) popen(printcmd, "w");
#endif
is_pipe = TRUE;
} else {