From owner-freebsd-tinderbox@FreeBSD.ORG Tue Mar 15 10:06:33 2005 Return-Path: Delivered-To: freebsd-tinderbox@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A50D216A4CE; Tue, 15 Mar 2005 10:06:33 +0000 (GMT) Received: from smtp-1.dlr.de (smtp-1.dlr.de [195.37.61.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id A09A243D5D; Tue, 15 Mar 2005 10:06:32 +0000 (GMT) (envelope-from Hartmut.Brandt@dlr.de) Received: from beagle.kn.op.dlr.de ([129.247.173.6]) by smtp-1.dlr.de over TLS secured channel with Microsoft SMTPSVC(5.0.2195.6713); Tue, 15 Mar 2005 11:06:31 +0100 Date: Tue, 15 Mar 2005 11:06:53 +0100 (CET) From: Harti Brandt X-X-Sender: brandt_h@beagle.kn.op.dlr.de To: Philip Paeps In-Reply-To: <20050315100007.GF696@loge.nixsys.be> Message-ID: <20050315110501.B98189@beagle.kn.op.dlr.de> References: <20050315092801.840557306E@freebsd-current.sentex.ca> <20050315100007.GF696@loge.nixsys.be> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 15 Mar 2005 10:06:31.0250 (UTC) FILETIME=[A92A5320:01C52946] cc: alpha@freebsd.org cc: FreeBSD Tinderbox Subject: Re: [current tinderbox] failure on alpha/alpha X-BeenThere: freebsd-tinderbox@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Harti Brandt List-Id: Tinderbox reports, responses, and meta-comments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2005 10:06:33 -0000 On Tue, 15 Mar 2005, Philip Paeps wrote: PP>On 2005-03-15 04:28:01 (-0500), FreeBSD Tinderbox wrote: PP>> /tinderbox/CURRENT/alpha/alpha/src/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c: In function `pf_dump': PP>> /tinderbox/CURRENT/alpha/alpha/src/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c:1147: warning: size_t format, different type arg (arg 3) PP>> /tinderbox/CURRENT/alpha/alpha/src/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c:1152: warning: size_t format, different type arg (arg 3) PP>> /tinderbox/CURRENT/alpha/alpha/src/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c:1157: warning: size_t format, different type arg (arg 3) PP>> *** Error code 1 PP> PP>Ugh, looks like I broke this... PP> PP>Is there a special magical format to use to printf a time_t without having it PP>break on at least one of the architectures we support? The best I've found so far to print an integer type of unknown size is to cast it to either intmax_t or uintmax_t and print it using %jd or %ju. This requires that you at least know the signedness. harti