--- sys/share/unixtty.c.orig	Wed Mar 25 00:54:22 2015
+++ sys/share/unixtty.c	Wed Mar 25 00:55:08 2015
@@ -120,9 +120,9 @@ struct tchars inittyb2, curttyb2;
 # ifndef LINT
 extern			/* it is defined in libtermlib (libtermcap) */
 # endif
-	short ospeed;	/* terminal baudrate; set by gettty */
+	int ospeed;	/* terminal baudrate; set by gettty */
 #else
-short	ospeed = 0;	/* gets around "not defined" error message */
+int	ospeed = 0;	/* gets around "not defined" error message */
 #endif
 
 #if defined(POSIX_TYPES) && defined(BSD)
