DragonFlyBSD Kernel Audit
DF-1972 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/platform/pc64/include/framebuffer.h b/sys/platform/pc64/include/framebuffer.h
--- a/sys/platform/pc64/include/framebuffer.h
+++ b/sys/platform/pc64/include/framebuffer.h
@@ -50,10 +50,10 @@
 struct fb_info {
 	vm_offset_t vaddr;
 	vm_paddr_t paddr;
-	uint16_t width;
-	uint16_t height;
-	uint16_t stride;
-	uint16_t depth;
+	uint16_t width;
+	uint16_t height;
+	uint32_t stride;
+	uint16_t depth;
 	int is_vga_boot_display;
 	void *par;
 	struct fb_ops fbops;