diff options
Diffstat (limited to 'lib/libedit/term.c')
| -rw-r--r-- | lib/libedit/term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libedit/term.c b/lib/libedit/term.c index 8de3027592d5..442583b09462 100644 --- a/lib/libedit/term.c +++ b/lib/libedit/term.c @@ -1248,7 +1248,7 @@ term_echotc(el, argc, argv) } #endif else if (strcmp(*argv, "baud") == 0) { - (void) fprintf(el->el_outfile, "%ld\n", el->el_tty.t_speed); + (void) fprintf(el->el_outfile, "%lu\n", (u_long)el->el_tty.t_speed); return 0; } else if (strcmp(*argv, "rows") == 0 || strcmp(*argv, "lines") == 0) { |
