mshtml: Remove const in front of REFIID as that is a macro that already starts with const.

Michael Stefaniuc mstefani at redhat.de
Fri Aug 3 18:02:04 CDT 2007


Jacek,

I'm not sure about this patch. gcc 3.1.1 produced a warning about a
double const. The rules of what is const depending on where in the
declaration it is placed are mind bongling (especially at 1am) and I
don't know what the intention was here so please review.

---
 dlls/mshtml/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/main.c b/dlls/mshtml/main.c
index 9a2a4f0..6ed2549 100644
--- a/dlls/mshtml/main.c
+++ b/dlls/mshtml/main.c
@@ -54,7 +54,7 @@ static HINSTANCE shdoclc = NULL;
 static ITypeLib *typelib;
 static ITypeInfo *typeinfos[LAST_tid];
 
-static const REFIID tid_ids[] = {
+static REFIID tid_ids[] = {
     &IID_IHTMLWindow2
 };
 
-- 
1.5.2.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070804/331872d0/attachment-0001.pgp


More information about the wine-patches mailing list