Skip to content
Snippets Groups Projects
Commit 0feafaab authored by Kristof Szabados's avatar Kristof Szabados
Browse files

make char casts explicit


Signed-off-by: default avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 4513b3b5
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,7 @@ void XSDName2TTCN3Name(const Mstring& in, QualifiedNames & used_names, modeType
if (type_of_the_name == type_reference_name) {
if (isBuiltInType(res)) {
res[0] = toupper(res[0]);
res[0] = (char)toupper(res[0]);
res = "XSD." + res;
return;
}
......
......@@ -103,11 +103,11 @@ char * Mstring::foundAt(const char * s) {
}
void Mstring::setCapitalized() {
text[0] = toupper(text[0]);
text[0] = (char)toupper(text[0]);
}
void Mstring::setUncapitalized() {
text[0] = tolower(text[0]);
text[0] = (char)tolower(text[0]);
}
Mstring Mstring::getPrefix(const char delimiter) const {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment