* grub-core/commands/fileXX.c: Silence cast-align.
* grub-core/loader/i386/xen_fileXX.c: Likewise.
This commit is contained in:
parent
b3aea1bc26
commit
9246d5c8a4
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-12-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/commands/fileXX.c: Silence cast-align.
|
||||||
|
* grub-core/loader/i386/xen_fileXX.c: Likewise.
|
||||||
|
|
||||||
2013-12-18 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-12-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* include/grub/efi/api.h (GRUB_EFI_ERROR_CODE): Use explicit cast
|
* include/grub/efi/api.h (GRUB_EFI_ERROR_CODE): Use explicit cast
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
#include <grub/fileid.h>
|
#include <grub/fileid.h>
|
||||||
#include <grub/elfload.h>
|
#include <grub/elfload.h>
|
||||||
|
|
||||||
|
#pragma GCC diagnostic ignored "-Wcast-align"
|
||||||
|
|
||||||
int
|
int
|
||||||
grub_file_check_netbsdXX (grub_elf_t elf)
|
grub_file_check_netbsdXX (grub_elf_t elf)
|
||||||
{
|
{
|
||||||
|
|
|
@ -156,6 +156,8 @@ parse_xen_guest (grub_elf_t elf, struct grub_xen_file_info *xi,
|
||||||
return GRUB_ERR_NONE;
|
return GRUB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma GCC diagnostic ignored "-Wcast-align"
|
||||||
|
|
||||||
static grub_err_t
|
static grub_err_t
|
||||||
parse_note (grub_elf_t elf, struct grub_xen_file_info *xi,
|
parse_note (grub_elf_t elf, struct grub_xen_file_info *xi,
|
||||||
grub_off_t off, grub_size_t sz)
|
grub_off_t off, grub_size_t sz)
|
||||||
|
@ -258,8 +260,6 @@ parse_note (grub_elf_t elf, struct grub_xen_file_info *xi,
|
||||||
return GRUB_ERR_NONE;
|
return GRUB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma GCC diagnostic ignored "-Wcast-align"
|
|
||||||
|
|
||||||
grub_err_t
|
grub_err_t
|
||||||
grub_xen_get_infoXX (grub_elf_t elf, struct grub_xen_file_info *xi)
|
grub_xen_get_infoXX (grub_elf_t elf, struct grub_xen_file_info *xi)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue