🎨 解决一些隐式类型转换问题

This commit is contained in:
fslongjin
2022-02-22 21:47:52 +08:00
parent 59b4e6f635
commit 6aede7ccc7
4 changed files with 13 additions and 14 deletions

View File

@ -33,7 +33,7 @@ int init_printk(const int char_size_x, const int char_size_y)
pos.max_y = calculate_max_charNum(pos.height, char_size_y);
// @todo:将来需要将帧缓冲区物理地址填写到这个地址的页表项中
pos.FB_address = 0xa00000;
pos.FB_address = (unsigned int*)0xa00000;
pos.FB_length = pos.width * pos.height;
pos.x = 0;