From 23452e24a7db7046e23448cddb5d289fa6419508 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Tue, 22 Jul 2008 09:38:03 +0000 Subject: [PATCH] use the address of the value, not the value itself patch by Gregor Schneider See issue #3547 for more details. svn path=/trunk/; revision=34669 --- reactos/dll/cpl/access/general.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/cpl/access/general.c b/reactos/dll/cpl/access/general.c index 6d5abe1b268..6b7fdaaba39 100644 --- a/reactos/dll/cpl/access/general.c +++ b/reactos/dll/cpl/access/general.c @@ -170,7 +170,7 @@ WriteGlobalData(PGLOBAL_DATA pGlobalData) _T("Sound On Activation"), 0, REG_DWORD, - (LPBYTE)pGlobalData->bSoundOnActivation, + (LPBYTE)&pGlobalData->bSoundOnActivation, sizeof(BOOL)); RegCloseKey(hKey);