From b02a77aff5c4d285243c95ea3a46d937508a8341 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Sat, 26 Apr 2008 20:58:51 +0000 Subject: [PATCH] Add missing cast, noticed by Paul Goyette in current-users@. --- usr.sbin/envstat/envstat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/envstat/envstat.c b/usr.sbin/envstat/envstat.c index 895b9b7488d6..b4af175cc628 100644 --- a/usr.sbin/envstat/envstat.c +++ b/usr.sbin/envstat/envstat.c @@ -1,4 +1,4 @@ -/* $NetBSD: envstat.c,v 1.63 2008/04/26 11:28:26 xtraeme Exp $ */ +/* $NetBSD: envstat.c,v 1.64 2008/04/26 20:58:51 xtraeme Exp $ */ /*- * Copyright (c) 2007, 2008 Juan Romero Pardines. @@ -27,7 +27,7 @@ #include #ifndef lint -__RCSID("$NetBSD: envstat.c,v 1.63 2008/04/26 11:28:26 xtraeme Exp $"); +__RCSID("$NetBSD: envstat.c,v 1.64 2008/04/26 20:58:51 xtraeme Exp $"); #endif /* not lint */ #include @@ -865,7 +865,7 @@ do { \ ilen = 8; else ilen = 16 + 1; - (void)printf("%*u ", ilen, + (void)printf("%*u ", (int)ilen, sensor->critmin_value); ilen = 16 + 1; }