* grub-core/commands/i386/pc/drivemap.c (int13slot): Replace

UINT_TO_PTR with cast.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-12-16 17:46:28 +01:00
parent c17e546cca
commit 215c18008e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-12-16 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/commands/i386/pc/drivemap.c (int13slot): Replace
UINT_TO_PTR with cast.
2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
* util/import_gcry.py: Skip _gcry_rmd160_mixblock and serpent_test. We

View File

@ -32,7 +32,7 @@
GRUB_MOD_LICENSE ("GPLv3+");
/* Real mode IVT slot (seg:off far pointer) for interrupt 0x13. */
static grub_uint32_t *const int13slot = UINT_TO_PTR (4 * 0x13);
static grub_uint32_t *const int13slot = (grub_uint32_t *) (4 * 0x13);
/* Remember to update enum opt_idxs accordingly. */
static const struct grub_arg_option options[] = {