diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-23 11:26:15 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-06 20:29:12 +0100 |
commit | 99336e77ba153c8cf1175951ff2239d6ce422c91 (patch) | |
tree | 13fae16f0a5401b1e6a164b3f9c9310a3d167801 /libmsi/create.c | |
parent | 30557984c4dac095c98ba7ba25afa6948d6f9934 (diff) | |
download | msitools-99336e77ba153c8cf1175951ff2239d6ce422c91.tar.gz msitools-99336e77ba153c8cf1175951ff2239d6ce422c91.tar.xz msitools-99336e77ba153c8cf1175951ff2239d6ce422c91.zip |
get rid of the useless Win32 BOOL type
Diffstat (limited to 'libmsi/create.c')
-rw-r--r-- | libmsi/create.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libmsi/create.c b/libmsi/create.c index b35ea26..3027348 100644 --- a/libmsi/create.c +++ b/libmsi/create.c @@ -42,8 +42,8 @@ typedef struct tagMSICREATEVIEW MSIVIEW view; MSIDATABASE *db; const WCHAR * name; - BOOL bIsTemp; - BOOL hold; + bool bIsTemp; + bool hold; column_info *col_info; } MSICREATEVIEW; @@ -59,7 +59,7 @@ static unsigned CREATE_fetch_int( MSIVIEW *view, unsigned row, unsigned col, uns static unsigned CREATE_execute( MSIVIEW *view, MSIRECORD *record ) { MSICREATEVIEW *cv = (MSICREATEVIEW*)view; - BOOL persist = (cv->bIsTemp) ? MSICONDITION_FALSE : MSICONDITION_TRUE; + bool persist = (cv->bIsTemp) ? MSICONDITION_FALSE : MSICONDITION_TRUE; TRACE("%p Table %s (%s)\n", cv, debugstr_w(cv->name), cv->bIsTemp?"temporary":"permanent"); @@ -89,7 +89,7 @@ static unsigned CREATE_get_dimensions( MSIVIEW *view, unsigned *rows, unsigned * } static unsigned CREATE_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 ) { MSICREATEVIEW *cv = (MSICREATEVIEW*)view; @@ -157,13 +157,13 @@ static unsigned check_columns( const column_info *col_info ) } unsigned CREATE_CreateView( MSIDATABASE *db, MSIVIEW **view, const WCHAR *table, - column_info *col_info, BOOL hold ) + column_info *col_info, bool hold ) { MSICREATEVIEW *cv = NULL; unsigned r; column_info *col; - BOOL temp = TRUE; - BOOL tempprim = FALSE; + bool temp = true; + bool tempprim = false; TRACE("%p\n", cv ); @@ -181,9 +181,9 @@ unsigned CREATE_CreateView( MSIDATABASE *db, MSIVIEW **view, const WCHAR *table, col->table = table; if( !col->temporary ) - temp = FALSE; + temp = false; else if ( col->type & MSITYPE_KEY ) - tempprim = TRUE; + tempprim = true; } if ( !temp && tempprim ) |