Date: Sun, 29 Dec 2002 22:35:41 -0800 From: David Schultz <dschultz@uclink.Berkeley.EDU> To: Juli Mallett <jmallett@FreeBSD.ORG> Cc: Craig Rodrigues <rodrigc@attbi.com>, current@FreeBSD.ORG, sparc64@FreeBSD.ORG Subject: Re: sparc64 tinderbox failure Message-ID: <20021230063541.GA6183@HAL9000.homeunix.com> In-Reply-To: <20021230062338.GB5984@HAL9000.homeunix.com> References: <200212300321.gBU3LMWB011861@bowie.private> <20021229202731.B22633@citusc.usc.edu> <20021230051705.GA5307@HAL9000.homeunix.com> <20021230053810.GA79308@attbi.com> <20021229215647.A79512@FreeBSD.org> <20021230062338.GB5984@HAL9000.homeunix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake David Schultz <dschultz@uclink.Berkeley.EDU>: > Right. The complaint is that hlen is 64 bits and the printf() > expects the field length specifier to be an int. The same goes > for getbsize(&hlen, ...), so I'm not sure why the compiler didn't > complain about a type mismatch. I guess it just coerced the > pointer to an int *. Aah, the compiler didn't complain because the getbsize() interface was changed between -CURRENT and -STABLE, and it now takes a 'size_t *' instead of an 'int *' to fill in with the length of the string. (To me, this change seems absolutely ridiculous, because the number in question is seldom greater than 10, much less 2^64.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021230063541.GA6183>