summaryrefslogtreecommitdiff
path: root/lily/misc.cc
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@xs4all.nl>2008-06-01 19:58:58 -0300
committerHan-Wen Nienhuys <hanwen@xs4all.nl>2008-06-01 19:58:58 -0300
commit17ccef115be6b2b45aa5ecdf0ce8d8dcb9bb8c10 (patch)
tree3ef7eef0e1e1daf0a434271a2bb021bd05e0772e /lily/misc.cc
parent3407fa791df17ba69585c8128edb211fbf83406a (diff)
Interface changes for string functions:
- replace_all() takes string* - remove some scm_i_XXX uses.
Diffstat (limited to 'lily/misc.cc')
-rw-r--r--lily/misc.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lily/misc.cc b/lily/misc.cc
index 6837df0d74..3b9d87da16 100644
--- a/lily/misc.cc
+++ b/lily/misc.cc
@@ -71,17 +71,17 @@ camel_case_to_lisp_identifier (string in)
vector<char> out;
/* don't add '-' before first character */
- out.push_back (tolower (in[0]));
+ out.push_back (char (tolower (in[0])));
for (size_t inpos = 1; inpos < in.size (); inpos++)
{
if (isupper (in[inpos]))
out.push_back ('-');
- out.push_back (tolower (in[inpos]));
+ out.push_back ( char(tolower (in[inpos])));
}
string result (&out[0], out.size ());
- replace_all (result, '_', '-');
+ replace_all (&result, '_', '-');
return result;
}