]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/HelpGen/src/sourcepainter.cpp
Fix conversion error in tooltips.
[wxWidgets.git] / utils / HelpGen / src / sourcepainter.cpp
index 333f4aedbb609b76513ede63c7d0b7394f6f8f5c..0c58ea54529f0f756256930fefabf9211b508e66 100644 (file)
@@ -652,7 +652,7 @@ void SourcePainter::GetResultString(string& result, MarkupTagsT tags)
 
                for( unsigned n = 0; n != len; ++n )
                
-                       result += mResultStr[pos+n];
+                       result += mResultStr[(unsigned int)(pos+n)];
 
                pos += len;