Commit 5f2558f5 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

shlwapi/tests: Write-strings warnings fix.

parent c6219326
......@@ -2281,7 +2281,7 @@ BOOL WINAPI FDSA_Destroy(FDSA_info *info)
*
* Insert element into an FDSA array
*/
DWORD WINAPI FDSA_InsertItem(FDSA_info *info, DWORD where, void *block)
DWORD WINAPI FDSA_InsertItem(FDSA_info *info, DWORD where, const void *block)
{
TRACE("(%p 0x%08lx %p)\n", info, where, block);
if(where > info->num_items)
......
......@@ -242,7 +242,7 @@ static void test_fdsa(void)
BOOL (WINAPI *pFDSA_Initialize)(DWORD block_size, DWORD inc, FDSA_info *info, void *mem,
DWORD init_blocks);
BOOL (WINAPI *pFDSA_Destroy)(FDSA_info *info);
DWORD (WINAPI *pFDSA_InsertItem)(FDSA_info *info, DWORD where, void *block);
DWORD (WINAPI *pFDSA_InsertItem)(FDSA_info *info, DWORD where, const void *block);
BOOL (WINAPI *pFDSA_DeleteItem)(FDSA_info *info, DWORD where);
FDSA_info info;
......
......@@ -53,7 +53,7 @@ static DWORD nExpLen2;
static const char * sEmptyBuffer ="0123456789";
/* delete key and all its subkeys */
static DWORD delete_key( HKEY hkey, LPSTR parent, LPSTR keyname )
static DWORD delete_key( HKEY hkey, LPCSTR parent, LPCSTR keyname )
{
HKEY parentKey;
DWORD ret;
......
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