HomeFreeBSD

Cast result from third parameter to int instead of promoting it to size_t

Description

Cast result from third parameter to int instead of promoting it to size_t

This resolves a -Wformat issue when the value is used as a format width
precision specifier, i.e. %*s

MFC after: 1 month
Reported by: clang
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
ngieAuthored on
Parents
rS303572: Fix regression with /i caused by r303047
Branches
Unknown
Tags
Unknown