Gerald Pfeifer : msi: Adjust the signedness of three variables.

Alexandre Julliard julliard at winehq.org
Tue Feb 19 13:59:10 CST 2008


Module: wine
Branch: master
Commit: 6bf0f0e1f67d2d9a80f28f27f9d34856b4b3dde8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6bf0f0e1f67d2d9a80f28f27f9d34856b4b3dde8

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sun Feb 17 13:23:38 2008 +0100

msi: Adjust the signedness of three variables.

---

 dlls/msi/streams.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/msi/streams.c b/dlls/msi/streams.c
index 3d91b9b..defcad5 100644
--- a/dlls/msi/streams.c
+++ b/dlls/msi/streams.c
@@ -39,7 +39,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msidb);
 
 typedef struct tabSTREAM
 {
-    int str_index;
+    UINT str_index;
     LPWSTR name;
     IStream *stream;
 } STREAM;
@@ -54,7 +54,7 @@ typedef struct tagMSISTREAMSVIEW
     UINT row_size;
 } MSISTREAMSVIEW;
 
-static BOOL streams_set_table_size(MSISTREAMSVIEW *sv, int size)
+static BOOL streams_set_table_size(MSISTREAMSVIEW *sv, UINT size)
 {
     if (size >= sv->max_streams)
     {
@@ -372,7 +372,7 @@ static UINT STREAMS_modify(struct tagMSIVIEW *view, MSIMODIFY eModifyMode, MSIRE
 static UINT STREAMS_delete(struct tagMSIVIEW *view)
 {
     MSISTREAMSVIEW *sv = (MSISTREAMSVIEW *)view;
-    int i;
+    UINT i;
 
     TRACE("(%p)\n", view);
 




More information about the wine-cvs mailing list