widl: Don't compare result of read() to unsigned type.
This commit is contained in:
parent
bd7e690c1f
commit
3ad3f8de42
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue