Andrew Talbot : odbc32: Cast-qual warning fix.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Sep 25 09:46:32 CDT 2006


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Wed Sep 20 21:11:18 2006 +0100

odbc32: Cast-qual warning fix.

---

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

diff --git a/dlls/odbc32/proxyodbc.c b/dlls/odbc32/proxyodbc.c
index da3a0aa..1354d85 100644
--- a/dlls/odbc32/proxyodbc.c
+++ b/dlls/odbc32/proxyodbc.c
@@ -218,7 +218,7 @@ static void ODBC_ReplicateODBCInstToRegi
                             NULL, NULL, NULL)) == ERROR_FILE_NOT_FOUND)
                     {
                         if ((reg_ret = RegSetValueExA (hDrivers, desc, 0,
-                                REG_SZ, (LPBYTE)"Installed", 10)) != ERROR_SUCCESS)
+                                REG_SZ, (const BYTE *)"Installed", 10)) != ERROR_SUCCESS)
                         {
                             TRACE ("Error %ld replicating driver %s\n",
                                     reg_ret, desc);




More information about the wine-cvs mailing list