From: Russell Bryant Date: Sun, 19 Mar 2006 00:38:02 +0000 (+0000) Subject: suppress compiler warning on mac X-Git-Tag: 1.4.0-beta1~2401 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce2d61cc62c6beee9fc83c9d809fc82c1b27feb1;p=thirdparty%2Fasterisk.git suppress compiler warning on mac git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13483 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/editline/term.c b/editline/term.c index 5fc5da466d..60b30245fa 100644 --- a/editline/term.c +++ b/editline/term.c @@ -1418,7 +1418,7 @@ term_echotc(EditLine *el, int argc, const char **argv) } (void) fprintf(el->el_outfile, fmtd, 0); #else - (void) fprintf(el->el_outfile, fmtd, el->el_tty.t_speed); + (void) fprintf(el->el_outfile, fmtd, (int) el->el_tty.t_speed); #endif return (0); } else if (strcmp(*argv, "rows") == 0 || strcmp(*argv, "lines") == 0) {