diff options
Diffstat (limited to 'SwifTools/MacOSXChecker.mm')
-rw-r--r-- | SwifTools/MacOSXChecker.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SwifTools/MacOSXChecker.mm b/SwifTools/MacOSXChecker.mm index 519f06c..aefe3e7 100644 --- a/SwifTools/MacOSXChecker.mm +++ b/SwifTools/MacOSXChecker.mm @@ -71,3 +71,3 @@ void MacOSXChecker::checkFragment(const std::string& fragment, PositionPairList& break; - misspelledPositions.push_back(PositionPair(static_cast<int>(range.location), static_cast<int>(range.location + range.length))); + misspelledPositions.push_back(PositionPair(range.location, range.location + range.length)); nextLocation = range.location + range.length + 1; |