From eca151dba345858ab90a95cd57773dbe5a2460b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Mon, 10 May 2004 12:21:22 +0000 Subject: [PATCH] Avoid warnings when using gcc 3.4 svn path=/trunk/; revision=9344 --- reactos/lib/user32/windows/class.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/lib/user32/windows/class.c b/reactos/lib/user32/windows/class.c index c220b4a5500..2625d70d974 100644 --- a/reactos/lib/user32/windows/class.c +++ b/reactos/lib/user32/windows/class.c @@ -1,4 +1,4 @@ -/* $Id: class.c,v 1.46 2004/04/09 20:03:14 navaraf Exp $ +/* $Id: class.c,v 1.47 2004/05/10 12:21:22 gvg Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS user32.dll @@ -107,7 +107,7 @@ static BOOL GetClassInfoExCommon( if (unicode) lpwcx->lpszMenuName = heap_string_poolW ( str2.Buffer, str2.Length ); else - (LPWNDCLASSEXA) lpwcx->lpszMenuName = heap_string_poolA ( str2.Buffer, str2.Length ); + ((LPWNDCLASSEXA) lpwcx)->lpszMenuName = heap_string_poolA ( str2.Buffer, str2.Length ); } if ( !IS_ATOM(w.lpszClassName) && w.lpszClassName ) @@ -115,7 +115,7 @@ static BOOL GetClassInfoExCommon( if (unicode) lpwcx->lpszClassName = heap_string_poolW ( str3.Buffer, str3.Length ); else - (LPWNDCLASSEXA) lpwcx->lpszClassName = heap_string_poolA ( str3.Buffer, str3.Length ); + ((LPWNDCLASSEXA) lpwcx)->lpszClassName = heap_string_poolA ( str3.Buffer, str3.Length ); } HEAP_free ( str2.Buffer );