Commit f4fca7c4 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Eliminated warnings.

parent 25c62cc6
......@@ -34,7 +34,7 @@ CryptAcquireContextA( HCRYPTPROV *phProv, LPCSTR pszContainer,
BOOL WINAPI
CryptSetKeyParam( HCRYPTKEY hKey, DWORD dwParam, BYTE *pbData, DWORD dwFlags)
{
FIXME_(advapi)("(%x, %lx, %p, %lx): stub!\n",
FIXME_(advapi)("(%lx, %lx, %p, %lx): stub!\n",
hKey, dwParam, pbData, dwFlags);
return FALSE;
}
......
......@@ -4,6 +4,8 @@
* Copyright 1998 Patrik Stridvall
*/
#include <string.h>
#include "winbase.h"
#include "winuser.h"
#include "winerror.h"
......
......@@ -302,7 +302,7 @@ HRESULT WINAPI SHILCreateFromPathW (LPCWSTR path, LPITEMIDLIST * ppidl, DWORD *
if (SUCCEEDED (SHGetDesktopFolder(&sf)))
{
ret = IShellFolder_ParseDisplayName(sf,0, NULL, path, &pchEaten, ppidl, attributes);
ret = IShellFolder_ParseDisplayName(sf,0, NULL, (LPWSTR) path, &pchEaten, ppidl, attributes);
IShellFolder_Release(sf);
}
return ret;
......
......@@ -3,8 +3,8 @@
#include "windef.h"
INT WINAPI WideCharToLocal(LPSTR,LPWSTR,INT);
INT WINAPI LocalToWideChar(LPWSTR,LPSTR,INT);
INT WINAPI WideCharToLocal(LPSTR,LPCWSTR,INT);
INT WINAPI LocalToWideChar(LPWSTR,LPCSTR,INT);
LPWSTR WINAPI lstrcpyAtoW(LPWSTR,LPCSTR);
LPSTR WINAPI lstrcpyWtoA(LPSTR,LPCWSTR);
LPWSTR WINAPI lstrcpynAtoW(LPWSTR,LPCSTR,INT);
......
......@@ -638,7 +638,7 @@ BOOL WINAPI OemToCharW( LPCSTR s, LPWSTR d )
INT WINAPI WideCharToLocal(
LPSTR pLocal,
LPWSTR pWide,
LPCWSTR pWide,
INT dwChars)
{ *pLocal = 0;
TRACE("(%p, %s, %i)\n", pLocal, debugstr_w(pWide),dwChars);
......@@ -654,7 +654,7 @@ INT WINAPI WideCharToLocal(
*/
INT WINAPI LocalToWideChar(
LPWSTR pWide,
LPSTR pLocal,
LPCSTR pLocal,
INT dwChars)
{ *pWide = 0;
TRACE("(%p, %s, %i)\n",pWide, pLocal, dwChars);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment