From 94757eceb1da6fe668861dce2e793e83a877967d Mon Sep 17 00:00:00 2001 From: Filipe Brandenburger Date: Wed, 6 Jan 2016 11:00:49 -0800 Subject: scriptreplay/newgrp: use signed int to store return of getopt_long Signed-off-by: Filipe Brandenburger --- login-utils/newgrp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'login-utils/newgrp.c') diff --git a/login-utils/newgrp.c b/login-utils/newgrp.c index e674a4feb..141b41bf4 100644 --- a/login-utils/newgrp.c +++ b/login-utils/newgrp.c @@ -180,7 +180,7 @@ int main(int argc, char *argv[]) struct passwd *pw_entry; struct group *gr_entry; char *shell; - char ch; + int ch; static const struct option longopts[] = { {"version", no_argument, NULL, 'V'}, {"help", no_argument, NULL, 'h'}, -- cgit v1.2.3-55-g7522