msi/tests: Write-strings warnings fixes.

This commit is contained in:
Andrew Talbot 2006-06-16 09:00:47 +01:00 committed by Alexandre Julliard
parent 0e8b75bb12
commit 685e7007e1
2 changed files with 4 additions and 4 deletions

View File

@ -816,7 +816,7 @@ static void test_msiexport(void)
{
MSIHANDLE hdb = 0, hview = 0;
UINT r;
char *query;
const char *query;
char path[MAX_PATH];
const char file[] = "phone.txt";
HANDLE handle;

View File

@ -925,7 +925,7 @@ static void test_props(void)
DeleteFile(msifile);
}
static UINT try_query_param( MSIHANDLE hdb, LPSTR szQuery, MSIHANDLE hrec )
static UINT try_query_param( MSIHANDLE hdb, LPCSTR szQuery, MSIHANDLE hrec )
{
MSIHANDLE htab = 0;
UINT res;
@ -953,7 +953,7 @@ static UINT try_query_param( MSIHANDLE hdb, LPSTR szQuery, MSIHANDLE hrec )
return res;
}
static UINT try_query( MSIHANDLE hdb, LPSTR szQuery )
static UINT try_query( MSIHANDLE hdb, LPCSTR szQuery )
{
return try_query_param( hdb, szQuery, 0 );
}
@ -962,7 +962,7 @@ static void test_msipackage(void)
{
MSIHANDLE hdb = 0, hpack = 100;
UINT r;
char *query;
const char *query;
char name[10];
DeleteFile(msifile);