summaryrefslogtreecommitdiffstats
path: root/libmsi/drop.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-23 11:16:54 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-06 20:26:29 +0100
commitb19defc32740225273c7efa63a784de18cde3dd1 (patch)
tree8c38cd1d594c06efcf27e98ccc44ac533a359d2e /libmsi/drop.c
parent9343724fcc4db909f19977523121b7597ab5f6c7 (diff)
downloadmsitools-b19defc32740225273c7efa63a784de18cde3dd1.tar.gz
msitools-b19defc32740225273c7efa63a784de18cde3dd1.tar.xz
msitools-b19defc32740225273c7efa63a784de18cde3dd1.zip
get rid of stupid Win32 integer types
Diffstat (limited to 'libmsi/drop.c')
-rw-r--r--libmsi/drop.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libmsi/drop.c b/libmsi/drop.c
index 0be6435..69cc32f 100644
--- a/libmsi/drop.c
+++ b/libmsi/drop.c
@@ -38,13 +38,13 @@ typedef struct tagMSIDROPVIEW
MSIDATABASE *db;
MSIVIEW *table;
column_info *colinfo;
- INT hold;
+ int hold;
} MSIDROPVIEW;
-static UINT DROP_execute(MSIVIEW *view, MSIRECORD *record)
+static unsigned DROP_execute(MSIVIEW *view, MSIRECORD *record)
{
MSIDROPVIEW *dv = (MSIDROPVIEW*)view;
- UINT r;
+ unsigned r;
TRACE("%p %p\n", dv, record);
@@ -58,7 +58,7 @@ static UINT DROP_execute(MSIVIEW *view, MSIRECORD *record)
return dv->table->ops->drop(dv->table);
}
-static UINT DROP_close(MSIVIEW *view)
+static unsigned DROP_close(MSIVIEW *view)
{
MSIDROPVIEW *dv = (MSIDROPVIEW*)view;
@@ -67,7 +67,7 @@ static UINT DROP_close(MSIVIEW *view)
return ERROR_SUCCESS;
}
-static UINT DROP_get_dimensions(MSIVIEW *view, UINT *rows, UINT *cols)
+static unsigned DROP_get_dimensions(MSIVIEW *view, unsigned *rows, unsigned *cols)
{
MSIDROPVIEW *dv = (MSIDROPVIEW*)view;
@@ -76,7 +76,7 @@ static UINT DROP_get_dimensions(MSIVIEW *view, UINT *rows, UINT *cols)
return ERROR_FUNCTION_FAILED;
}
-static UINT DROP_delete( MSIVIEW *view )
+static unsigned DROP_delete( MSIVIEW *view )
{
MSIDROPVIEW *dv = (MSIDROPVIEW*)view;
@@ -113,10 +113,10 @@ static const MSIVIEWOPS drop_ops =
NULL,
};
-UINT DROP_CreateView(MSIDATABASE *db, MSIVIEW **view, const WCHAR *name)
+unsigned DROP_CreateView(MSIDATABASE *db, MSIVIEW **view, const WCHAR *name)
{
MSIDROPVIEW *dv;
- UINT r;
+ unsigned r;
TRACE("%p %s\n", view, debugstr_w(name));