From 3ad3f8de42658db331110bf14baa5b81be6c809a Mon Sep 17 00:00:00 2001 From: Dan Hipschman Date: Wed, 13 Sep 2006 16:34:53 -0700 Subject: [PATCH] widl: Don't compare result of read() to unsigned type. --- tools/widl/typelib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/widl/typelib.c b/tools/widl/typelib.c index 1476e1a2a35..f11977007f9 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"); -- 2.11.4.GIT