File vbetool-1.1-missing-cast.patch of Package vbetool
Index: b/vbetool.c =================================================================== --- a/vbetool.c +++ b/vbetool.c @@ -117,8 +117,8 @@ int main(int argc, char *argv[]) void *rc; int romfd = open (argv[2], O_RDWR); - munmap(0xc0000, 64*1024); - rc = mmap(0xc0000, 64*1024, + munmap((void *)0xc0000, 64*1024); + rc = mmap((void *)0xc0000, 64*1024, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_FIXED|MAP_PRIVATE, romfd, 0); }