Module: wine Branch: master Commit: 3ad3f8de42658db331110bf14baa5b81be6c809a URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=3ad3f8de42658db331110bf1...
Author: Dan Hipschman dsh@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");