Andrew Talbot : msi/tests: Write-strings warnings fixes.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jun 19 03:35:14 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 685e7007e10eb115d7669930245fbe9876c2ec4c
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=685e7007e10eb115d7669930245fbe9876c2ec4c
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Fri Jun 16 09:00:47 2006 +0100
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 329e1a1..fe2b8cf 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 9e55caa..fae0405 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 h
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);
More information about the wine-cvs
mailing list