Subject: re: CVS commit: src/sys/dist/ipf/netinet
To: None <he@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: source-changes
Date: 02/10/2005 06:41:40
Log Message:
One can't portably print a size_t with an %u format directive.
Since this might be in the kernel, cast to unsigned int before printing.
Fixes build problem for amd64 (and presumably also our other LP64 ports).
since size_t is "unsigned long" on some platforms, casting
to int seems not really right (though i'd hope it wouldn't
actually matter.) maybe just use %z format instead?
.mrg.