fixed gcc4 warnings
Modified: trunk/reactos/subsys/system/notepad/text.c

Modified: trunk/reactos/subsys/system/notepad/text.c
--- trunk/reactos/subsys/system/notepad/text.c	2005-09-25 17:49:14 UTC (rev 18061)
+++ trunk/reactos/subsys/system/notepad/text.c	2005-09-25 17:52:12 UTC (rev 18062)
@@ -130,7 +130,7 @@
 		else
 			goto done;
 
-		dwCharCount = MultiByteToWideChar(iCodePage, 0, &pBytes[dwPos], dwSize - dwPos, NULL, 0);
+		dwCharCount = MultiByteToWideChar(iCodePage, 0, (LPCSTR)&pBytes[dwPos], dwSize - dwPos, NULL, 0);
 		if (dwCharCount == 0)
 			goto done;
 
@@ -138,7 +138,7 @@
 		if (!pszAllocText)
 			goto done;
 
-		if (!MultiByteToWideChar(iCodePage, 0, &pBytes[dwPos], dwSize - dwPos, pszAllocText, dwCharCount))
+		if (!MultiByteToWideChar(iCodePage, 0, (LPCSTR)&pBytes[dwPos], dwSize - dwPos, pszAllocText, dwCharCount))
 			goto done;
 
 		pszAllocText[dwCharCount] = '\0';