From 9cc84f635972411dc34da2a8c901a67fb29de56e Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Thu, 19 Jul 2007 22:04:55 +0100 Subject: [PATCH] dplayx: Cast-qual warning fix. --- dlls/dplayx/dplobby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dplayx/dplobby.c b/dlls/dplayx/dplobby.c index e911bc87fa8..98e4f33a784 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;