[Asterisk-cvs] zaptel ztcfg.c,1.16.2.1,1.16.2.2

russell at lists.digium.com russell at lists.digium.com
Wed May 11 22:30:10 CDT 2005


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv13804

Modified Files:
      Tag: v1-0
	ztcfg.c 
Log Message:
ensure that getopt return value is handled properly on platforms with 'unsigned char' as the default (bug #4051)


Index: ztcfg.c
===================================================================
RCS file: /usr/cvsroot/zaptel/ztcfg.c,v
retrieving revision 1.16.2.1
retrieving revision 1.16.2.2
diff -u -d -r1.16.2.1 -r1.16.2.2
--- ztcfg.c	5 Apr 2005 05:49:33 -0000	1.16.2.1
+++ ztcfg.c	12 May 2005 02:36:11 -0000	1.16.2.2
@@ -676,7 +676,7 @@
 
 int main(int argc, char *argv[])
 {
-	char c;
+	int c;
 	char *buf;
 	char *key, *value;
 	int x,found;




More information about the svn-commits mailing list