fix sign-compare issue
This commit is contained in:
parent
403ccaeac2
commit
94ec558cb9
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: net.c,v 1.34 2009/01/31 06:22:46 isaki Exp $ */
|
||||
/* $NetBSD: net.c,v 1.35 2009/04/11 10:57:55 lukem Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992 Regents of the University of California.
|
||||
@ -120,8 +120,8 @@ sendrecv(struct iodesc *d,
|
||||
tleft = 0;
|
||||
continue;
|
||||
}
|
||||
if (cc < ssize)
|
||||
panic("sendrecv: short write! (%zd < %zd)",
|
||||
if ((size_t)cc < ssize)
|
||||
panic("sendrecv: short write! (%zd < %zu)",
|
||||
cc, ssize);
|
||||
|
||||
tlast = t;
|
||||
|
Loading…
Reference in New Issue
Block a user