mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-09 07:06:47 +00:00
解决编译器警告
This commit is contained in:
parent
17d5fea2cf
commit
0dc12cb1ca
@ -53,7 +53,7 @@ struct bt_node_t *bt_create_node(struct bt_node_t *left, struct bt_node_t *right
|
||||
|
||||
return node;
|
||||
nomem:;
|
||||
return -ENOMEM;
|
||||
return (void*)-ENOMEM;
|
||||
}
|
||||
/**
|
||||
* @brief 插入结点
|
||||
|
@ -294,7 +294,7 @@ struct multiboot_tag_framebuffer_info_t
|
||||
// indexed color
|
||||
struct multiboot_tag_framebuffer_info_type0_t
|
||||
{
|
||||
struct multiboot_tag_framebuffer_info_t;
|
||||
struct multiboot_tag_framebuffer_info_t header;
|
||||
uint32_t framebuffer_palette_num_colors;
|
||||
struct multiboot_color_t color_desc;
|
||||
};
|
||||
@ -302,7 +302,7 @@ struct multiboot_tag_framebuffer_info_type0_t
|
||||
// direct RGB color
|
||||
struct multiboot_tag_framebuffer_info_type1_t
|
||||
{
|
||||
struct multiboot_tag_framebuffer_info_t;
|
||||
struct multiboot_tag_framebuffer_info_t header;
|
||||
|
||||
uint8_t framebuffer_red_field_position;
|
||||
uint8_t framebuffer_red_mask_size;
|
||||
|
Loading…
x
Reference in New Issue
Block a user