Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1055 → Rev 1056

/shark/trunk/drivers/fb/vgastate.c
367,7 → 367,10
if (saved == NULL)
return 1;
memset (saved, 0, sizeof(struct regstate));
(struct regstate *) state->vidstate = saved;
// changed for gcc4 compatibility
//(struct regstate *) state->vidstate = saved;
state->vidstate = (struct regstate *) (saved);
if (state->flags & VGA_SAVE_CMAP) {
saved->vga_cmap = vmalloc(768);