patch-2.1.129 linux/drivers/video/sbusfb.c

Next file: linux/drivers/video/virgefb.c
Previous file: linux/drivers/video/retz3fb.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.128/linux/drivers/video/sbusfb.c linux/drivers/video/sbusfb.c
@@ -184,7 +184,8 @@
 #ifdef __sparc_v9__
 	/* Align it as much as desirable */
 	{
-		int j, max = -1, alignment, s = 0;
+		unsigned long j, alignment, s = 0;
+		int max = -1;
 		
 		map_offset = vma->vm_offset+size;
 		for (i = 0; fb->mmap_map[i].size; i++) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov