patch-1.3.99 linux/drivers/char/vc_screen.c

Next file: linux/drivers/char/vga.c
Previous file: linux/drivers/char/stallion.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.98/linux/drivers/char/vc_screen.c linux/drivers/char/vc_screen.c
@@ -149,7 +149,7 @@
 		org = screen_pos(cons, p, viewed);
 		while (count-- > 0) {
 			scr_writew((scr_readw(org) & 0xff00) |
-				   get_user(buf++), org);
+				   get_user((const unsigned char*)buf++), org);
 			org++;
 		}
 	} else {
@@ -175,7 +175,7 @@
 		}
 		if (count > 0)
 			scr_writew((scr_readw(org) & 0xff00) |
-				   get_user(buf++), org);
+				   get_user((const unsigned char*)buf++), org);
 	}
 	written = buf - buf0;
 	file->f_pos += written;

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