Fix some type conversion warnings.

This commit is contained in:
Unknown W. Brackets committed 2014-08-30 02:05:21 -07:00
1 parent 2d4e491d56
commit ca16eb2857
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -728,7 +728,7 @@ void TextEdit::Key(const KeyInput &input) {
size_t maxPaste = maxLen_ - text_.size();
if (clipText.size() > maxPaste) {
int end = 0;
while (end < maxPaste) {
while ((size_t)end < maxPaste) {
u8_inc(clipText.c_str(), &end);
}
if (end > 0) {