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

This commit is contained in:
Dan Hipschman 2006-09-13 16:34:53 -07:00 committed by Alexandre Julliard
parent bd7e690c1f
commit 3ad3f8de42
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ void add_typelib_entry(type_t *t)
typelib->entry = entry; 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) if(read(fd, buf, count) < count)
error("error while reading importlib.\n"); error("error while reading importlib.\n");