diff --git a/libexec/comsat/comsat.c b/libexec/comsat/comsat.c index 7b4ed19489e4..5b0450160e67 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)