[Asterisk-cvs] zaptel ztcfg.c,1.21,1.22

kpfleming at lists.digium.com kpfleming at lists.digium.com
Wed Apr 20 09:40:54 CDT 2005


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

Modified Files:
	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.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- ztcfg.c	4 Apr 2005 14:19:13 -0000	1.21
+++ ztcfg.c	20 Apr 2005 14:31:37 -0000	1.22
@@ -1105,7 +1105,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