[PATCH 1/5] reg: Constify the type member of struct reg_type_rels

Hugh McMaster hugh.mcmaster at outlook.com
Mon Apr 5 08:24:10 CDT 2021


Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
---
 programs/reg/reg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/reg/reg.h b/programs/reg/reg.h
index c7719a6e4f0..c281770bdb4 100644
--- a/programs/reg/reg.h
+++ b/programs/reg/reg.h
@@ -27,7 +27,7 @@
 
 /* reg.c */
 struct reg_type_rels {
-    DWORD type;
+    const DWORD type;
     const WCHAR *name;
 };
 
-- 
2.31.0




More information about the wine-devel mailing list