Andrew Talbot : dplayx: Cast-qual warning fix.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jul 20 06:02:25 CDT 2007


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Thu Jul 19 22:04:55 2007 +0100

dplayx: Cast-qual warning fix.

---

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

diff --git a/dlls/dplayx/dplobby.c b/dlls/dplayx/dplobby.c
index e911bc8..98e4f33 100644
--- a/dlls/dplayx/dplobby.c
+++ b/dlls/dplayx/dplobby.c
@@ -694,7 +694,7 @@ extern HRESULT DPL_EnumAddress( LPDPENUMADDRESSCALLBACK lpEnumAddressCallback, L
     /* Invoke the enum method. If false is returned, stop enumeration */
     if ( !lpEnumAddressCallback( &lpElements->guidDataType,
                                  lpElements->dwDataSize,
-                                 (BYTE*)lpElements + sizeof( DPADDRESS ),
+                                 (const BYTE *)lpElements + sizeof( DPADDRESS ),
                                  lpContext ) )
     {
       break;




More information about the wine-cvs mailing list