mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
msi/tests: Write-strings warnings fixes.
This commit is contained in:
parent
0e8b75bb12
commit
685e7007e1
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user