Andrew Talbot : explorerframe: Constify some variables.
Alexandre Julliard
julliard at winehq.org
Mon Oct 4 11:03:58 CDT 2010
Module: wine
Branch: master
Commit: 49e993c64165fb283f6a637102e21f0b28196fb7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=49e993c64165fb283f6a637102e21f0b28196fb7
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Sat Oct 2 19:41:04 2010 +0100
explorerframe: Constify some variables.
---
dlls/explorerframe/explorerframe_main.c | 2 +-
dlls/explorerframe/nstc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/explorerframe/explorerframe_main.c b/dlls/explorerframe/explorerframe_main.c
index dd3c0cf..cc535e7 100644
--- a/dlls/explorerframe/explorerframe_main.c
+++ b/dlls/explorerframe/explorerframe_main.c
@@ -211,7 +211,7 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
/*************************************************************************
* Register/Unregister DLL, based on shdocvw/factory.c
*/
-static HRESULT reg_install(LPCSTR section, STRTABLEA *strtable)
+static HRESULT reg_install(LPCSTR section, const STRTABLEA *strtable)
{
HRESULT (WINAPI *pRegInstall)(HMODULE hm, LPCSTR pszSection, const STRTABLEA* pstTable);
HMODULE hadvpack;
diff --git a/dlls/explorerframe/nstc.c b/dlls/explorerframe/nstc.c
index 02633b0..6ae1458 100644
--- a/dlls/explorerframe/nstc.c
+++ b/dlls/explorerframe/nstc.c
@@ -422,7 +422,7 @@ static void collapse_all(NSTC2Impl *This, HTREEITEM node)
if(next) collapse_all(This, next);
}
-static HTREEITEM treeitem_from_point(NSTC2Impl *This, POINT *pt, UINT *hitflag)
+static HTREEITEM treeitem_from_point(NSTC2Impl *This, const POINT *pt, UINT *hitflag)
{
TVHITTESTINFO tviht;
tviht.pt.x = pt->x;
More information about the wine-cvs
mailing list