Contents of /trunk/eterm/patches/eterm-0.9.3-gcc4.patch
Parent Directory | Revision Log
Revision 144 -
(show annotations)
(download)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 570 byte(s)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 570 byte(s)
-import
1 | Fix building with GCC4. Patch by Aaron Walker. |
2 | http://bugs.gentoo.org/92485 |
3 | |
4 | --- Eterm-0.9.3/src/command.c |
5 | +++ Eterm-0.9.3/src/command.c |
6 | @@ -3002,9 +3002,9 @@ |
7 | Xfd = XConnectionNumber(Xdisplay); |
8 | D_CMD(("Xfd = %d\n", Xfd)); |
9 | cmdbuf_ptr = cmdbuf_endp = cmdbuf_base; |
10 | - AT_LEAST((int) num_fds, Xfd + 1); |
11 | + AT_LEAST(num_fds, Xfd + 1); |
12 | if (pipe_fd >= 0) { |
13 | - AT_LEAST((int) num_fds, pipe_fd + 1); |
14 | + AT_LEAST(num_fds, pipe_fd + 1); |
15 | } |
16 | if ((cmd_fd = command_func(argv)) < 0) { |
17 | print_error("Unable to run sub-command.\n"); |