Skip to content
Snippets Groups Projects
Commit f4fca7c4 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard
Browse files

Eliminated warnings.

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