fix sign-compare issue

This commit is contained in:
lukem 2009-04-11 07:55:35 +00:00
parent ad5ee40a86
commit 6f957c8d46
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: dumprmt.c,v 1.32 2006/12/18 20:07:32 christos Exp $ */
/* $NetBSD: dumprmt.c,v 1.33 2009/04/11 07:55:35 lukem Exp $ */
/*-
* Copyright (c) 1980, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)dumprmt.c 8.3 (Berkeley) 4/28/95";
#else
__RCSID("$NetBSD: dumprmt.c,v 1.32 2006/12/18 20:07:32 christos Exp $");
__RCSID("$NetBSD: dumprmt.c,v 1.33 2009/04/11 07:55:35 lukem Exp $");
#endif
#endif /* not lint */
@ -291,7 +291,7 @@ static int
rmtcall(const char *cmd, const char *buf, int verbose)
{
if (write(rmtape, buf, strlen(buf)) != strlen(buf))
if ((size_t)write(rmtape, buf, strlen(buf)) != strlen(buf))
rmtconnaborted(0);
return (rmtreply(cmd, verbose));
}