* grub-core/kern/powerpc/dl.c: Add missing pragma to silence cast-align

warnings.
This commit is contained in:
Vladimir Serbinenko 2013-11-07 19:33:00 +01:00
parent 7f084087b2
commit 7a3f4a18d1
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/powerpc/dl.c: Add missing pragma to silence cast-align
warnings.
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com> 2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/net/net.c (grub_net_route_unregister): Remove unused * grub-core/net/net.c (grub_net_route_unregister): Remove unused

View file

@ -38,6 +38,8 @@ grub_arch_dl_check_header (void *ehdr)
return GRUB_ERR_NONE; return GRUB_ERR_NONE;
} }
#pragma GCC diagnostic ignored "-Wcast-align"
void void
grub_arch_dl_get_tramp_got_size (const void *ehdr, grub_size_t *tramp, grub_arch_dl_get_tramp_got_size (const void *ehdr, grub_size_t *tramp,
grub_size_t *got) grub_size_t *got)