diff options
author | yar <yar@FreeBSD.org> | 2006-06-19 17:12:25 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2006-06-19 17:12:25 +0000 |
commit | 4ba7f71dafadbe6bb01f608e8e35083afd6d1879 (patch) | |
tree | 705c4c1481a173d5b63e59a826870acb619c1b3f /usr.sbin/asf/asf.c | |
parent | acc660f919095304e76f19e12a04be42c3dd8a10 (diff) | |
download | FreeBSD-src-4ba7f71dafadbe6bb01f608e8e35083afd6d1879.zip FreeBSD-src-4ba7f71dafadbe6bb01f608e8e35083afd6d1879.tar.gz |
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
Diffstat (limited to 'usr.sbin/asf/asf.c')
-rw-r--r-- | usr.sbin/asf/asf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/asf/asf.c b/usr.sbin/asf/asf.c index 7a30386..66f5717 100644 --- a/usr.sbin/asf/asf.c +++ b/usr.sbin/asf/asf.c @@ -266,7 +266,7 @@ usage(const char *myname) "\t-V\tuse kvm(3) to get the list of modules\n" "\t-X\tappend suffix to list of possible module file name suffixes\n" "\t-x\tclear list of possible module file name suffixes\n", - myname, strlen(myname), ""); + myname, (int)strlen(myname), ""); exit(2); } |