diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-10-22 15:15:23 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-10-22 15:15:23 +0000 |
| commit | 463416d0c7ccaac2dc169cc3c345c7f3b92363f4 (patch) | |
| tree | 301cc33a53d1e68c5243b8a0c34423def23ddd30 /src | |
| parent | 3eddf4dcfc5a0cdc10a36c560e8603b7d1f96c02 (diff) | |
Remove OS X Xcode compiler warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Text_Buffer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Text_Buffer.cxx b/src/Fl_Text_Buffer.cxx index 74e04688a..a2c325464 100644 --- a/src/Fl_Text_Buffer.cxx +++ b/src/Fl_Text_Buffer.cxx @@ -1176,7 +1176,7 @@ int Fl_Text_Buffer::search_forward(int startPos, const char *searchString, return 1; } // FIXME: character is ucs-4 - } while ((matchCase ? character(bp++) == *sp++ : + } while ((matchCase ? character(bp++) == (unsigned int)*sp++ : toupper(character(bp++)) == toupper(*sp++)) && bp < length()); startPos++; @@ -1201,7 +1201,7 @@ int Fl_Text_Buffer::search_backward(int startPos, const char *searchString, return 1; } // FIXME: character is ucs-4 - } while ((matchCase ? character(bp--) == *sp-- : + } while ((matchCase ? character(bp--) == (unsigned int)*sp-- : toupper(character(bp--)) == toupper(*sp--)) && bp >= 0); startPos--; |
