setupapi: Constify a variable

Andrew Talbot andrew.talbot at talbotville.com
Thu Jun 19 16:52:02 CDT 2008


Changelog:
    setupapi: Constify a variable.

diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c
index 7613814..af4f4d3 100644
--- a/dlls/setupapi/devinst.c
+++ b/dlls/setupapi/devinst.c
@@ -3052,7 +3052,7 @@ struct PropertyMapEntry
     LPCWSTR nameW;
 };
 
-static struct PropertyMapEntry PropertyMap[] = {
+static const struct PropertyMapEntry PropertyMap[] = {
     { REG_SZ, "DeviceDesc", DeviceDesc },
     { REG_MULTI_SZ, "HardwareId", HardwareId },
     { REG_MULTI_SZ, "CompatibleIDs", CompatibleIDs },



More information about the wine-patches mailing list