| commit | 3ad3f8de42658db331110bf14baa5b81be6c809a | [log] [tgz] |
|---|---|---|
| author | Dan Hipschman <dsh@linux.ucla.edu> | Wed Sep 13 16:34:53 2006 -0700 |
| committer | Alexandre Julliard <julliard@winehq.org> | Thu Sep 14 11:39:37 2006 +0200 |
| tree | e376eaf22a2ad42d2f75bfbfeadb0e18b02d358f | |
| parent | bd7e690c1fbdf68cc8220e1a91b706ad946bc9cc [diff] |
widl: Don't compare result of read() to unsigned type.
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 @@ 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");