occt: master d9d3107d

Author Committer Branch Timestamp Parent
kgv bugmaster master 2018-07-02 21:45:41 master 70aac171
Affected Issues  0029925: Foundation Classes - add missing cast to LowerCase() and UpperCase() arguments
Changeset 0029925: Foundation Classes - add missing cast to LowerCase() and UpperCase() arguments

Argument of LowerCase() and UpperCase() is cast to int via unsigned char to avoid passing negative integer in the case if the argument char is in the extended part of ASCII table (which would result in undefined behavior according to C++ standard).
mod - src/QABugs/QABugs_20.cxx Diff File
mod - src/Standard/Standard_Character.hxx Diff File
add - tests/bugs/fclasses/bug29925 Diff File