diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-22 18:45:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-22 18:45:04 (GMT) |
commit | af2521eaad6cb327dfaf09e6b5152fff5e954f26 (patch) | |
tree | 6f5a187851e2e621451df87007626d7f57c85f24 | |
parent | d94ce329ca8501256f8c11bfea3009a1ae2079ef (diff) | |
parent | d333ed138dd5a6918f292c880f33af9695d03fbc (diff) | |
download | Doxygen-af2521eaad6cb327dfaf09e6b5152fff5e954f26.zip Doxygen-af2521eaad6cb327dfaf09e6b5152fff5e954f26.tar.gz Doxygen-af2521eaad6cb327dfaf09e6b5152fff5e954f26.tar.bz2 |
Merge pull request #8268 from albert-github/feature/bug_warn_util
Remove warnings from util.cpp
-rw-r--r-- | src/util.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util.cpp b/src/util.cpp index 3aa5863..6ba4d4d 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -3588,9 +3588,9 @@ int getUtf8Char(const char *input,char ids[MAX_UTF8_CHAR_SIZE],CaseModifier modi { switch (modifier) { - case CaseModifier::None: ids[0]=*input; break; - case CaseModifier::ToUpper: ids[0]=toupper(*input); break; - case CaseModifier::ToLower: ids[0]=tolower(*input); break; + case CaseModifier::None: ids[0]=*input; break; + case CaseModifier::ToUpper: ids[0]=(char)toupper(*input); break; + case CaseModifier::ToLower: ids[0]=(char)tolower(*input); break; } l=1; // 0xxx.xxxx => normal single byte ascii character } |