Modified: trunk/reactos/lib/shlwapi/path.c
Modified: trunk/reactos/lib/shlwapi/reg.c
Modified: trunk/reactos/lib/shlwapi/string.c
Modified: trunk/reactos/lib/shlwapi/url.c
--- trunk/reactos/lib/shlwapi/path.c 2005-07-27 01:44:10 UTC (rev 16779)
+++ trunk/reactos/lib/shlwapi/path.c 2005-07-27 01:50:31 UTC (rev 16780)
@@ -25,6 +25,7 @@
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
+#include <ctype.h>
#include "wine/unicode.h"
#include "windef.h"
--- trunk/reactos/lib/shlwapi/reg.c 2005-07-27 01:44:10 UTC (rev 16779)
+++ trunk/reactos/lib/shlwapi/reg.c 2005-07-27 01:50:31 UTC (rev 16780)
@@ -1197,7 +1197,7 @@
debugstr_a(lpszValue), dwType, pvData, cbData);
if (lpszSubKey && *lpszSubKey)
- dwRet = RegCreateKeyExA(hKey, lpszSubKey, 0, szEmpty,
+ dwRet = RegCreateKeyExA(hKey, lpszSubKey, 0, (LPSTR)szEmpty,
0, KEY_SET_VALUE, NULL, &hSubKey, &dwDummy);
else
hSubKey = hKey;
@@ -1226,7 +1226,7 @@
debugstr_w(lpszValue), dwType, pvData, cbData);
if (lpszSubKey && *lpszSubKey)
- dwRet = RegCreateKeyExW(hKey, lpszSubKey, 0, szEmpty,
+ dwRet = RegCreateKeyExW(hKey, lpszSubKey, 0, (LPWSTR)szEmpty,
0, KEY_SET_VALUE, NULL, &hSubKey, &dwDummy);
else
hSubKey = hKey;
--- trunk/reactos/lib/shlwapi/string.c 2005-07-27 01:44:10 UTC (rev 16779)
+++ trunk/reactos/lib/shlwapi/string.c 2005-07-27 01:50:31 UTC (rev 16780)
@@ -27,6 +27,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
+#include <ctype.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
--- trunk/reactos/lib/shlwapi/url.c 2005-07-27 01:44:10 UTC (rev 16779)
+++ trunk/reactos/lib/shlwapi/url.c 2005-07-27 01:50:31 UTC (rev 16780)
@@ -23,6 +23,7 @@
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
+#include <ctype.h>
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
@@ -1398,7 +1399,7 @@
if (IsBadStringPtrA(pszUrl, -1) || IsBadWritePtr(lpDest, nDestLen))
return E_INVALIDARG;
- HashData((const BYTE*)pszUrl, (int)strlen(pszUrl), lpDest, nDestLen);
+ HashData((LPSTR)pszUrl, (int)strlen(pszUrl), lpDest, nDestLen);
return S_OK;
}
@@ -1420,7 +1421,7 @@
* return the same digests for the same URL.
*/
WideCharToMultiByte(0, 0, pszUrl, -1, szUrl, MAX_PATH, 0, 0);
- HashData((const BYTE*)szUrl, (int)strlen(szUrl), lpDest, nDestLen);
+ HashData((BYTE*)szUrl, (int)strlen(szUrl), lpDest, nDestLen);
return S_OK;
}