Dan Hipschman : widl: Don't compare result of read() to unsigned type.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Sep 14 10:10:18 CDT 2006


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

Author: Dan Hipschman <dsh at linux.ucla.edu>
Date:   Wed Sep 13 16:34:53 2006 -0700

widl: Don't compare result of read() to unsigned type.

---

 tools/widl/typelib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/widl/typelib.c b/tools/widl/typelib.c
index 1476e1a..f119770 100644
--- a/tools/widl/typelib.c
+++ b/tools/widl/typelib.c
@@ -255,7 +255,7 @@ void add_typelib_entry(type_t *t)
     typelib->entry = entry;
 }
 
-static void tlb_read(int fd, void *buf, size_t count)
+static void tlb_read(int fd, void *buf, int count)
 {
     if(read(fd, buf, count) < count)
         error("error while reading importlib.\n");




More information about the wine-cvs mailing list