mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Add #[repr(C)] to ScreenChar
This commit is contained in:
@@ -111,6 +111,7 @@ impl ColorCode {
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
#[repr(C)]
|
||||
struct ScreenChar {
|
||||
ascii_character: u8,
|
||||
color_code: ColorCode,
|
||||
|
||||
Reference in New Issue
Block a user