dia/dia-64bit-clean.patch

23 lines
543 B
Diff

--- app/load_save.c
+++ app/load_save.c
@@ -910,7 +910,7 @@
_umask = umask(0); umask(_umask);
mode = 0666 & ~_umask;
ret = fchmod(fildes,mode);
- 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
@@ -371,7 +371,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 {