aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/locale/locale.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/locale/locale.c')
-rw-r--r--usr.bin/locale/locale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/locale/locale.c b/usr.bin/locale/locale.c
index b88cce94bcf2..9a1e437e0789 100644
--- a/usr.bin/locale/locale.c
+++ b/usr.bin/locale/locale.c
@@ -211,7 +211,7 @@ struct _kwinfo {
int
main(int argc, char *argv[])
{
- char ch;
+ int ch;
int tmp;
while ((ch = getopt(argc, argv, "ackm")) != -1) {