freebsd-ports/x11-fm/ezfm/files/patch-folder.c
Martin Wilke 6212809747 - Fix build with gcc 4.2
- Pass maintainership to submitter

PR:		118474
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
Approved by:	portmgr (erwin)
2007-12-10 22:19:10 +00:00

11 lines
432 B
C

--- folder.c.orig 2007-12-07 00:06:06.000000000 +0100
+++ folder.c 2007-12-07 00:06:26.000000000 +0100
@@ -2118,7 +2118,7 @@
else
{
char *err = (errno >= 0 && errno <sys_nerr)?
- sys_errlist[errno] : "Unknown error";
+ (char *)sys_errlist[errno] : "Unknown error";
ezfmWarning("Rename File Failed", err);
}
}