From d40e0a8c92e192704bfec1ba7b3abad0f27f2151 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Wed, 20 Apr 2005 14:31:37 +0000 Subject: ensure that getopt return value is handled properly on platforms with 'unsigned char' as the default (bug #4051) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@629 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- ztcfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ztcfg.c') diff --git a/ztcfg.c b/ztcfg.c index 3c4b5fe..82cd2c0 100755 --- a/ztcfg.c +++ b/ztcfg.c @@ -1105,7 +1105,7 @@ static void usage(char *argv0, int exitcode) int main(int argc, char *argv[]) { - char c; + int c; char *buf; char *key, *value; int x,found; -- cgit v1.2.3