summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/vidcontrol/vidcontrol.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/vidcontrol/vidcontrol.c b/usr.sbin/vidcontrol/vidcontrol.c
index 5c3133c..81f13da 100644
--- a/usr.sbin/vidcontrol/vidcontrol.c
+++ b/usr.sbin/vidcontrol/vidcontrol.c
@@ -28,7 +28,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: vidcontrol.c,v 1.18 1997/10/27 07:52:10 charnier Exp $";
#endif /* not lint */
#include <ctype.h>
@@ -170,7 +170,8 @@ void
load_font(char *type, char *filename)
{
FILE *fd = 0;
- int i, io, size;
+ int i, size;
+ unsigned long io;
char *name, *fontmap;
char *prefix[] = {"", "", FONT_PATH, FONT_PATH, NULL};
char *postfix[] = {"", ".fnt", "", ".fnt"};
@@ -257,7 +258,7 @@ set_cursor_type(char *appearence)
void
video_mode(int argc, char **argv, int *index)
{
- int mode;
+ unsigned long mode;
if (*index < argc) {
if (!strcmp(argv[*index], "VGA_40x25"))
OpenPOWER on IntegriCloud