From 685e7007e10eb115d7669930245fbe9876c2ec4c Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Fri, 16 Jun 2006 09:00:47 +0100 Subject: [PATCH] msi/tests: Write-strings warnings fixes. --- dlls/msi/tests/db.c | 2 +- dlls/msi/tests/package.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/msi/tests/db.c b/dlls/msi/tests/db.c index 329e1a14777..fe2b8cfc069 100644 --- a/dlls/msi/tests/db.c +++ b/dlls/msi/tests/db.c @@ -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; diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c index 9e55caa2ed1..fae0405194d 100644 --- a/dlls/msi/tests/package.c +++ b/dlls/msi/tests/package.c @@ -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);