summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorrse <rse@FreeBSD.org>2009-06-01 11:38:38 +0000
committerrse <rse@FreeBSD.org>2009-06-01 11:38:38 +0000
commit16772a3cde3f0569bb2fef9882ba64704000938d (patch)
tree26b83b870a43b25cc9b0cc11821604ddc5f823b0 /bin
parent7e3e9ea5ae8d3675058f6c30d3685f45847eabc8 (diff)
downloadFreeBSD-src-16772a3cde3f0569bb2fef9882ba64704000938d.zip
FreeBSD-src-16772a3cde3f0569bb2fef9882ba64704000938d.tar.gz
use explicit 'unsigned int' instead of just the implicit-style 'unsigned' to make linting tools (e.g. FlexeLint) happy, too
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/mksyntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/mksyntax.c b/bin/sh/mksyntax.c
index e4ec28a..f8fad0d 100644
--- a/bin/sh/mksyntax.c
+++ b/bin/sh/mksyntax.c
@@ -354,7 +354,7 @@ output_type_macros(void)
char **pp;
if (digit_contig)
- macro[0] = "#define is_digit(c)\t((unsigned)((c) - '0') <= 9)";
+ macro[0] = "#define is_digit(c)\t((unsigned int)((c) - '0') <= 9)";
for (pp = macro ; *pp ; pp++)
fprintf(hfile, "%s\n", *pp);
if (digit_contig)
OpenPOWER on IntegriCloud