Author: cwittich
Date: Tue Jul 22 04:38:03 2008
New Revision: 34669
URL:
http://svn.reactos.org/svn/reactos?rev=34669&view=rev
Log:
use the address of the value, not the value itself
patch by Gregor Schneider <grschneider at gmail.com>
See issue #3547 for more details.
Modified:
trunk/reactos/dll/cpl/access/general.c
Modified: trunk/reactos/dll/cpl/access/general.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/general.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/access/general.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/access/general.c [iso-8859-1] Tue Jul 22 04:38:03 2008
@@ -170,7 +170,7 @@
_T("Sound On Activation"),
0,
REG_DWORD,
- (LPBYTE)pGlobalData->bSoundOnActivation,
+ (LPBYTE)&pGlobalData->bSoundOnActivation,
sizeof(BOOL));
RegCloseKey(hKey);