HomeFreeBSD

There is a plenty of arch's out there where sizeof(size_t) != sizeof(int).

Description

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

Details

Provenance
Yaroslav Tykhiy <ytykhiy@gmail.com>Authored on Jun 19 2006, 5:12 PM
Parents
rG0a8d09fe8a31: Add a forgotten ","
Branches
Unknown
Tags
Unknown

Event Timeline