From f7ac289d679f87af35e7ca585d05c2d06577ac5b Mon Sep 17 00:00:00 2001 From: russell Date: Thu, 12 May 2005 02:36:11 +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/branches/v1-0@644 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- ztcfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ztcfg.c b/ztcfg.c index f2813aa..eba7e13 100755 --- a/ztcfg.c +++ b/ztcfg.c @@ -676,7 +676,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