]> git.pld-linux.org Git - packages/Eterm.git/blame - Eterm-gcc4.patch
- drop non-cvs changelog (changelog truncation confuses chronological order)
[packages/Eterm.git] / Eterm-gcc4.patch
CommitLineData
1a7f916f 1Fix building with GCC4. Patch by Aaron Walker.
2http://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");
This page took 0.077423 seconds and 4 git commands to generate.