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");