summaryrefslogtreecommitdiffstats
path: root/libmsi/select.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-23 11:26:15 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-06 20:29:12 +0100
commit99336e77ba153c8cf1175951ff2239d6ce422c91 (patch)
tree13fae16f0a5401b1e6a164b3f9c9310a3d167801 /libmsi/select.c
parent30557984c4dac095c98ba7ba25afa6948d6f9934 (diff)
downloadmsitools-99336e77ba153c8cf1175951ff2239d6ce422c91.tar.gz
msitools-99336e77ba153c8cf1175951ff2239d6ce422c91.tar.xz
msitools-99336e77ba153c8cf1175951ff2239d6ce422c91.zip
get rid of the useless Win32 BOOL type
Diffstat (limited to 'libmsi/select.c')
-rw-r--r--libmsi/select.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmsi/select.c b/libmsi/select.c
index 794172f..9d48172 100644
--- a/libmsi/select.c
+++ b/libmsi/select.c
@@ -142,7 +142,7 @@ static unsigned SELECT_set_row( MSIVIEW *view, unsigned row, MSIRECORD *rec, uns
return r;
}
-static unsigned SELECT_insert_row( MSIVIEW *view, MSIRECORD *record, unsigned row, BOOL temporary )
+static unsigned SELECT_insert_row( MSIVIEW *view, MSIRECORD *record, unsigned row, bool temporary )
{
MSISELECTVIEW *sv = (MSISELECTVIEW*)view;
unsigned i, table_cols, r;
@@ -215,7 +215,7 @@ static unsigned SELECT_get_dimensions( MSIVIEW *view, unsigned *rows, unsigned *
}
static unsigned SELECT_get_column_info( MSIVIEW *view, unsigned n, const WCHAR **name,
- unsigned *type, BOOL *temporary, const WCHAR **table_name )
+ unsigned *type, bool *temporary, const WCHAR **table_name )
{
MSISELECTVIEW *sv = (MSISELECTVIEW*)view;
@@ -232,7 +232,7 @@ static unsigned SELECT_get_column_info( MSIVIEW *view, unsigned n, const WCHAR *
{
if (name) *name = szEmpty;
if (type) *type = MSITYPE_UNKNOWN | MSITYPE_VALID;
- if (temporary) *temporary = FALSE;
+ if (temporary) *temporary = false;
if (table_name) *table_name = szEmpty;
return ERROR_SUCCESS;
}