summaryrefslogtreecommitdiffstats
path: root/libmsi/select.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-23 10:31:27 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-06 20:26:29 +0100
commit73d6f4144fc246161652e43351253a7e9a8ef33e (patch)
tree5c4c8969d494b90aae675d1a3c68b18bed7d36e6 /libmsi/select.c
parent03613cc7fb190dd94623ebe96c72329d4f1d1475 (diff)
downloadmsitools-73d6f4144fc246161652e43351253a7e9a8ef33e.tar.gz
msitools-73d6f4144fc246161652e43351253a7e9a8ef33e.tar.xz
msitools-73d6f4144fc246161652e43351253a7e9a8ef33e.zip
get rid of P/LP types
Diffstat (limited to 'libmsi/select.c')
-rw-r--r--libmsi/select.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libmsi/select.c b/libmsi/select.c
index 31a861d..5ed94b3 100644
--- a/libmsi/select.c
+++ b/libmsi/select.c
@@ -214,8 +214,8 @@ static UINT SELECT_get_dimensions( struct tagMSIVIEW *view, UINT *rows, UINT *co
return sv->table->ops->get_dimensions( sv->table, rows, NULL );
}
-static UINT SELECT_get_column_info( struct tagMSIVIEW *view, UINT n, LPCWSTR *name,
- UINT *type, BOOL *temporary, LPCWSTR *table_name )
+static UINT SELECT_get_column_info( struct tagMSIVIEW *view, UINT n, const WCHAR **name,
+ UINT *type, BOOL *temporary, const WCHAR **table_name )
{
MSISELECTVIEW *sv = (MSISELECTVIEW*)view;
@@ -244,7 +244,7 @@ static UINT msi_select_update(struct tagMSIVIEW *view, MSIRECORD *rec, UINT row)
{
MSISELECTVIEW *sv = (MSISELECTVIEW*)view;
UINT r, i, num_columns, col, type, val;
- LPCWSTR str;
+ const WCHAR *str;
MSIRECORD *mod;
r = SELECT_get_dimensions(view, NULL, &num_columns);
@@ -370,8 +370,8 @@ static const MSIVIEWOPS select_ops =
NULL,
};
-static UINT SELECT_AddColumn( MSISELECTVIEW *sv, LPCWSTR name,
- LPCWSTR table_name )
+static UINT SELECT_AddColumn( MSISELECTVIEW *sv, const WCHAR *name,
+ const WCHAR *table_name )
{
UINT r, n;
MSIVIEW *table;