[ros-diffs] [cwittich] 34669: use the address of the value, not the value itself patch by Gregor Schneider <grschneider at gmail.com> See issue #3547 for more details.

cwittich at svn.reactos.org cwittich at svn.reactos.org
Tue Jul 22 11:38:03 CEST 2008


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?rev=34669&r1=34668&r2=34669&view=diff
==============================================================================
--- 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);



More information about the Ros-diffs mailing list