]> git.lyx.org Git - features.git/blobdiff - src/support/lstrings.h
fixes because of SUN CC warnings, bmtable now compiled with C compilator, countChar...
[features.git] / src / support / lstrings.h
index 0769ba26189deba734af16603a1f20b6010ea4bc..f1110316585ca268279ba6d4ec98c1560ffc334a 100644 (file)
@@ -119,7 +119,7 @@ bool contains(string const & a, string const & b);
 bool contains(char const * a, char const * b);
 
 /// Counts how many of character c there is in a
-int countChar(string const & a, char const c);
+unsigned int countChar(string const & a, char const c);
 
 /** Extracts a token from this string at the nth delim.
   Doesn't modify the original string. Similar to strtok.