From d89b76343e95ea7f444ddd22dfc291238d9361f0 Mon Sep 17 00:00:00 2001 From: proski Date: Wed, 2 Jul 2008 01:17:43 +0000 Subject: [PATCH] 2008-07-01 Pavel Roskin * include/multiboot2.h (struct multiboot_tag_module): Use char, not unsigned char. This fixes warnings and is consistent with other tags. --- ChangeLog | 4 ++++ include/multiboot2.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index cf0ddefa4..a27213f08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-07-01 Pavel Roskin + * include/multiboot2.h (struct multiboot_tag_module): Use char, + not unsigned char. This fixes warnings and is consistent with + other tags. + * disk/fs_uuid.c (search_fs_uuid): Correctly increment count. * normal/parser.y: Define YYENABLE_NLS as 0 to fix warnings. diff --git a/include/multiboot2.h b/include/multiboot2.h index 7124ced46..f720dc3ea 100644 --- a/include/multiboot2.h +++ b/include/multiboot2.h @@ -77,8 +77,8 @@ struct multiboot_tag_module struct multiboot_tag_header header; multiboot_word addr; multiboot_word size; - unsigned char type[36]; - unsigned char cmdline[1]; + char type[36]; + char cmdline[1]; }; #define MULTIBOOT2_TAG_MEMORY 4