Andrew Talbot : hlink: Cast-qual warnings fix.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Sep 20 13:26:54 CDT 2006


Module: wine
Branch: master
Commit: 752600b3148ce46189cc68a7aee628e8dc1fa0bd
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=752600b3148ce46189cc68a7aee628e8dc1fa0bd

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Thu Sep 14 12:51:48 2006 +0100

hlink: Cast-qual warnings fix.

---

 dlls/hlink/hlink_main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/hlink/hlink_main.c b/dlls/hlink/hlink_main.c
index b710220..ec2c5d0 100644
--- a/dlls/hlink/hlink_main.c
+++ b/dlls/hlink/hlink_main.c
@@ -382,8 +382,8 @@ static HRESULT register_clsid(LPCGUID gu
     if (r != ERROR_SUCCESS)
         return E_FAIL;
 
-    RegSetValueExW(key, NULL, 0, REG_SZ, (LPBYTE)hlink, sizeof hlink);
-    RegSetValueExW(key, threading_model, 0, REG_SZ, (LPBYTE)apartment, sizeof apartment);
+    RegSetValueExW(key, NULL, 0, REG_SZ, (const BYTE *)hlink, sizeof hlink);
+    RegSetValueExW(key, threading_model, 0, REG_SZ, (const BYTE *)apartment, sizeof apartment);
     RegCloseKey(key);
 
     return S_OK;




More information about the wine-cvs mailing list