]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
There is a plenty of arch's out there where sizeof(size_t) != sizeof(int).
authorYaroslav Tykhiy <ytykhiy@gmail.com>
Mon, 19 Jun 2006 17:12:25 +0000 (17:12 +0000)
committerYaroslav Tykhiy <ytykhiy@gmail.com>
Mon, 19 Jun 2006 17:12:25 +0000 (17:12 +0000)
commitb4e943202090c3241de853c5ef56fb8e5f11a498
tree705c4c1481a173d5b63e59a826870acb619c1b3f
parent0a8d09fe8a31057965128ceb85fc8993b78fd6a7
There is a plenty of arch's out there where sizeof(size_t) != sizeof(int).
A field width in printf(3) must be int, so cast return value from strlen()
to the type.

Noticed by: Andrzej Tobola <ato iem pw edu pl>; tinderbox
Pointy hat to: yar
X-MFC with: the rest of the new asf code
usr.sbin/asf/asf.c