summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-05-12 02:36:11 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-05-12 02:36:11 +0000
commitf7ac289d679f87af35e7ca585d05c2d06577ac5b (patch)
tree41bf10a93b4346c0b53b3728f5bb59fd1d01b696
parent49d601cbf2f50bfa21bc62f48ded01eb7f768d8a (diff)
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
-rwxr-xr-xztcfg.c2
1 files changed, 1 insertions, 1 deletions
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;