Index: /trunk/src/VBox/Devices/PC/DevAPIC.cpp
===================================================================
--- /trunk/src/VBox/Devices/PC/DevAPIC.cpp	(revision 23992)
+++ /trunk/src/VBox/Devices/PC/DevAPIC.cpp	(revision 23993)
@@ -2402,9 +2402,9 @@
     lapicDumpVec(dev, lapic, pHlp, 0x100);
     val = get_highest_priority_int(lapic->isr);
-    pHlp->pfnPrintf(pHlp, "    highest = %02X\n", val == ~0 ? 0 : val);
+    pHlp->pfnPrintf(pHlp, "    highest = %02X\n", val == ~0U ? 0 : val);
     pHlp->pfnPrintf(pHlp, "  IRR       : ");
     lapicDumpVec(dev, lapic, pHlp, 0x200);
     val = get_highest_priority_int(lapic->irr);
-    pHlp->pfnPrintf(pHlp, "    highest = %02X\n", val == ~0 ? 0 : val);
+    pHlp->pfnPrintf(pHlp, "    highest = %02X\n", val == ~0U ? 0 : val);
     val = apic_mem_readl(dev, lapic, 0x320);
 }
@@ -2414,6 +2414,6 @@
 {
     uint32_t        val;
-    static char     *dmodes[] = { "Fixed ", "Reserved", "SMI", "Reserved", 
-                                  "NMI", "INIT", "Reserved", "ExtINT" };
+    static const char *dmodes[] = { "Fixed ", "Reserved", "SMI", "Reserved", 
+                                    "NMI", "INIT", "Reserved", "ExtINT" };
 
     val = apic_mem_readl(dev, lapic, 0x320);
@@ -2983,6 +2983,6 @@
     for (i = 0; i <= max_redir; ++i)
     {
-        static char *dmodes[] = { "Fixed ", "LowPri", "SMI   ", "Resrvd", 
-                                  "NMI   ", "INIT  ", "Resrvd", "ExtINT" };
+        static const char *dmodes[] = { "Fixed ", "LowPri", "SMI   ", "Resrvd", 
+                                        "NMI   ", "INIT  ", "Resrvd", "ExtINT" };
 
         pHlp->pfnPrintf(pHlp, "  %02d   %s      %02X     %d    %s   %d   %s  %s     %s   %3d (%016llX)\n", 
