[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: s_slib.nw
User: danmc
Date: 05/09/27 18:31:21
Modified: . s_slib.nw
Log:
remove some compiler warnings (use of char as a subscript)
Revision Changes Path
1.8 +1 -1 eda/geda/devel/libgeda/noweb/s_slib.nw
(In the diff below, changes in quantity of whitespace are not shown.)
Index: s_slib.nw
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/libgeda/noweb/s_slib.nw,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- s_slib.nw 13 Feb 2005 01:38:24 -0000 1.7
+++ s_slib.nw 27 Sep 2005 22:31:21 -0000 1.8
@@ -347,7 +347,7 @@
/* we are still searching for the first underscore */
/* first make sure char is a number */
- if (isdigit(return_filename[i])) {
+ if (isdigit((int) return_filename[i])) {
valid=1;
} else if (return_filename[i] == '_' && valid) {
/* yes it is okay to delete the chars */