[PATCH] removed const from static object.

Marcus Meissner marcus at jet.franken.de
Fri Dec 8 01:56:30 CST 2006


Hi,

crashes on newer distros (with -zrelro) on COMCAT_ComCatMgr->ref++;

ciao, Marcus
---
 dlls/comcat/manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comcat/manager.c b/dlls/comcat/manager.c
index 9911b78..0b80cbe 100644
--- a/dlls/comcat/manager.c
+++ b/dlls/comcat/manager.c
@@ -111,7 +111,7 @@ static const IUnknownVtbl COMCAT_IUnknow
 /**********************************************************************
  * static ComCatMgr instance
  */
-const ComCatMgrImpl COMCAT_ComCatMgr =
+ComCatMgrImpl COMCAT_ComCatMgr =
 {
     &COMCAT_IUnknown_Vtbl,
     &COMCAT_ICatRegister_Vtbl,
-- 
1.4.3.4



More information about the wine-patches mailing list