[asterisk-commits] trunk r13483 - /trunk/editline/term.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Mar 18 17:38:03 MST 2006


Author: russell
Date: Sat Mar 18 18:38:02 2006
New Revision: 13483

URL: http://svn.digium.com/view/asterisk?rev=13483&view=rev
Log:
suppress compiler warning on mac

Modified:
    trunk/editline/term.c

Modified: trunk/editline/term.c
URL: http://svn.digium.com/view/asterisk/trunk/editline/term.c?rev=13483&r1=13482&r2=13483&view=diff
==============================================================================
--- trunk/editline/term.c (original)
+++ trunk/editline/term.c Sat Mar 18 18:38:02 2006
@@ -1418,7 +1418,7 @@
 			}
 		(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) {



More information about the asterisk-commits mailing list