patch-1.3.5 linux/drivers/char/vt.c

Next file: linux/drivers/net/3c505.c
Previous file: linux/drivers/char/psaux.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.4/linux/drivers/char/vt.c linux/drivers/char/vt.c
@@ -66,8 +66,8 @@
  * routines to load custom translation table, EGA/VGA font and
  * VGA colour palette from console.c
  */
-extern int con_set_trans_old(char * table);
-extern int con_get_trans_old(char * table);
+extern int con_set_trans_old(unsigned char * table);
+extern int con_get_trans_old(unsigned char * table);
 extern int con_set_trans_new(unsigned short * table);
 extern int con_get_trans_new(unsigned short * table);
 extern void con_clear_unimap(struct unimapinit *ui);
@@ -1007,10 +1007,10 @@
 	case PIO_SCRNMAP:
 		if (!perm)
 			return -EPERM;
-		return con_set_trans_old((char *)arg);
+		return con_set_trans_old((unsigned char *)arg);
 
 	case GIO_SCRNMAP:
-		return con_get_trans_old((char *)arg);
+		return con_get_trans_old((unsigned char *)arg);
 
 	case PIO_UNISCRNMAP:
 		if (!perm)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this