]> git.ipfire.org Git - thirdparty/pciutils.git/commitdiff
windows: Fix wideness of 16-bit constant VWIN32_DEVICE_ID
authorPali Rohár <pali@kernel.org>
Sat, 26 Jul 2025 17:34:38 +0000 (19:34 +0200)
committerMartin Mareš <mj@ucw.cz>
Sun, 28 Dec 2025 20:49:06 +0000 (21:49 +0100)
lib/physmem-windows.c

index f2e12649a34bf6c0d61390d3003721b193ecb7ef..ed827bacd9154f7836614c87b275ada4a004d7fd 100644 (file)
@@ -139,7 +139,7 @@ typedef struct _OBJECT_ATTRIBUTES {
 }
 #endif
 
-#define VWIN32_DEVICE_ID 0x0002A /* from vmm.h */
+#define VWIN32_DEVICE_ID 0x002A /* from vmm.h */
 #define WIN32_SERVICE_ID(device, function) (((device) << 16) | (function))
 #define VWIN32_Int31Dispatch WIN32_SERVICE_ID(VWIN32_DEVICE_ID, 0x29)
 #define DPMI_PHYSICAL_ADDRESS_MAPPING 0x0800