Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/tools/ctf/cvt Field width is an int...
details: https://anonhg.NetBSD.org/src/rev/fbe11d104a69
branches: trunk
changeset: 325937:fbe11d104a69
user: riz <riz%NetBSD.org@localhost>
date: Sun Jan 12 17:48:59 2014 +0000
description:
Field width is an int, so cast the result of strlen() appropriately.
diffstat:
external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r dc2e85da5cca -r fbe11d104a69 external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c
--- a/external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c Sun Jan 12 17:48:25 2014 +0000
+++ b/external/cddl/osnet/dist/tools/ctf/cvt/ctfmerge.c Sun Jan 12 17:48:59 2014 +0000
@@ -238,7 +238,7 @@
"\n"
" Note: if -L labelenv is specified and labelenv is not set in\n"
" the environment, a default value is used.\n",
- progname, progname, strlen(progname), " ",
+ progname, progname, (int)strlen(progname), " ",
progname, progname);
}
Home |
Main Index |
Thread Index |
Old Index