18 lines
570 B
Diff
18 lines
570 B
Diff
Fix building with GCC4. Patch by Aaron Walker.
|
|
http://bugs.gentoo.org/92485
|
|
|
|
--- Eterm-0.9.3/src/command.c
|
|
+++ Eterm-0.9.3/src/command.c
|
|
@@ -3002,9 +3002,9 @@
|
|
Xfd = XConnectionNumber(Xdisplay);
|
|
D_CMD(("Xfd = %d\n", Xfd));
|
|
cmdbuf_ptr = cmdbuf_endp = cmdbuf_base;
|
|
- AT_LEAST((int) num_fds, Xfd + 1);
|
|
+ AT_LEAST(num_fds, Xfd + 1);
|
|
if (pipe_fd >= 0) {
|
|
- AT_LEAST((int) num_fds, pipe_fd + 1);
|
|
+ AT_LEAST(num_fds, pipe_fd + 1);
|
|
}
|
|
if ((cmd_fd = command_func(argv)) < 0) {
|
|
print_error("Unable to run sub-command.\n");
|