diff options
author | rse <rse@FreeBSD.org> | 2009-06-01 11:38:38 +0000 |
---|---|---|
committer | rse <rse@FreeBSD.org> | 2009-06-01 11:38:38 +0000 |
commit | 16772a3cde3f0569bb2fef9882ba64704000938d (patch) | |
tree | 26b83b870a43b25cc9b0cc11821604ddc5f823b0 /bin | |
parent | 7e3e9ea5ae8d3675058f6c30d3685f45847eabc8 (diff) | |
download | FreeBSD-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.c | 2 |
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) |