From: Pali Rohár Date: Sat, 26 Jul 2025 17:34:38 +0000 (+0200) Subject: windows: Fix wideness of 16-bit constant VWIN32_DEVICE_ID X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79f4c2896c2101b1d3be682639dff2abb7b744ac;p=thirdparty%2Fpciutils.git windows: Fix wideness of 16-bit constant VWIN32_DEVICE_ID --- diff --git a/lib/physmem-windows.c b/lib/physmem-windows.c index f2e1264..ed827ba 100644 --- a/lib/physmem-windows.c +++ b/lib/physmem-windows.c @@ -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