suppress compiler warning on mac
authorRussell Bryant <russell@russellbryant.com>
Sun, 19 Mar 2006 00:38:02 +0000 (00:38 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sun, 19 Mar 2006 00:38:02 +0000 (00:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13483 65c4cc65-6c06-0410-ace0-fbb531ad65f3

editline/term.c

index 5fc5da4..60b3024 100644 (file)
@@ -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) {