Andrew Talbot : setupapi: Constify a variable.
Alexandre Julliard
julliard at winehq.org
Fri Jun 20 06:22:11 CDT 2008
Module: wine
Branch: master
Commit: 581a0e091cc87e027e48b835011b024a34506854
URL: http://source.winehq.org/git/wine.git/?a=commit;h=581a0e091cc87e027e48b835011b024a34506854
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Thu Jun 19 22:52:02 2008 +0100
setupapi: Constify a variable.
---
dlls/setupapi/devinst.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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-cvs
mailing list