[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: gaf.git: branch: master updated (1.5.2-20090328-77-g843b768)



The branch, master has been updated
       via  843b7689b528eeef7f9ed72d505e91aeb5ce01fc (commit)
      from  65ab1fad22f6879f1a296ee5382f633870613c78 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gattrib/src/listsort.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


=================
 Commit Messages
=================

commit 843b7689b528eeef7f9ed72d505e91aeb5ce01fc
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>

    Remove some gcc warnings.
    
    tolower() and friends on some systems pass the argument as the index
    to an array and gcc wants that to be an int.

:100644 100644 9c676bf... d5948f9... M	gattrib/src/listsort.c

=========
 Changes
=========

commit 843b7689b528eeef7f9ed72d505e91aeb5ce01fc
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>

    Remove some gcc warnings.
    
    tolower() and friends on some systems pass the argument as the index
    to an array and gcc wants that to be an int.

diff --git a/gattrib/src/listsort.c b/gattrib/src/listsort.c
index 9c676bf..d5948f9 100644
--- a/gattrib/src/listsort.c
+++ b/gattrib/src/listsort.c
@@ -96,8 +96,8 @@ int cmp(STRING_LIST *al, STRING_LIST *bl) {
 	  while (isdigit ((int) *b))
 	    b++;
 	}
-      else if (tolower (*a) != tolower (*b))
-	return tolower (*a) - tolower (*b);
+      else if (tolower ((int) *a) != tolower ((int) *b))
+	return tolower ((int) *a) - tolower ((int) *b);
       a++;
       b++;
     }




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs