]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/commands/i386/pc/drivemap.c (int13slot): Replace
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 16 Dec 2011 16:46:28 +0000 (17:46 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 16 Dec 2011 16:46:28 +0000 (17:46 +0100)
UINT_TO_PTR with cast.

ChangeLog
grub-core/commands/i386/pc/drivemap.c

index 74aa2a60dd92f489d8457a1fa19ac8c7f2fdcd6f..4aacc74b8dfd02d922e6dcba07f12582e1eb03c0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 4f752bed51b8505840de1ac8298cba3020c947c8..6e82be437d04522a0e24de6d0d10857a98524b95 100644 (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[] = {