diff options
| author | lukem <lukem@NetBSD.org> | 2009-03-14 11:43:24 +0000 |
|---|---|---|
| committer | lukem <lukem@NetBSD.org> | 2009-03-14 11:43:24 +0000 |
| commit | 434441debd5a088edc7515dcbf538f11be81d5ae (patch) | |
| tree | b2ac41bc68db7610fa00cef9b97b43e8edcc1e11 /libexec | |
| parent | 0fa70e9b6f4307b98211c15ac867a249e12a2f92 (diff) | |
fix sign-compare issue
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/comsat/comsat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/comsat/comsat.c b/libexec/comsat/comsat.c index 7b4ed19489e..5b0450160e6 100644 --- a/libexec/comsat/comsat.c +++ b/libexec/comsat/comsat.c @@ -1,4 +1,4 @@ -/* $NetBSD: comsat.c,v 1.38 2008/07/20 01:09:06 lukem Exp $ */ +/* $NetBSD: comsat.c,v 1.39 2009/03/14 11:43:24 lukem Exp $ */ /* * Copyright (c) 1980, 1993 @@ -36,7 +36,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\ #if 0 static char sccsid[] = "from: @(#)comsat.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: comsat.c,v 1.38 2008/07/20 01:09:06 lukem Exp $"); +__RCSID("$NetBSD: comsat.c,v 1.39 2009/03/14 11:43:24 lukem Exp $"); #endif #endif /* not lint */ @@ -208,7 +208,7 @@ mailfor(const char *name) char maildir[MAXPATHLEN]; int l = snprintf(maildir, sizeof(maildir), ":%s/%s", _PATH_MAILDIR, name); - if (l >= sizeof(maildir) || strcmp(maildir, fn) != 0) + if (l >= (int)sizeof(maildir) || strcmp(maildir, fn) != 0) return; } for (ep = utmp; ep != NULL; ep = ep->next) |
