summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ide/Xcode3/FLTK.xcodeproj/project.pbxproj9
-rw-r--r--src/Fl_Text_Buffer.cxx4
2 files changed, 11 insertions, 2 deletions
diff --git a/ide/Xcode3/FLTK.xcodeproj/project.pbxproj b/ide/Xcode3/FLTK.xcodeproj/project.pbxproj
index a82aa48dd..9eb0b9875 100644
--- a/ide/Xcode3/FLTK.xcodeproj/project.pbxproj
+++ b/ide/Xcode3/FLTK.xcodeproj/project.pbxproj
@@ -8225,7 +8225,14 @@
isa = PBXProject;
buildConfigurationList = 615453DB5B8EBEE070930DA7 /* Build configuration list for PBXProject "FLTK" */;
compatibilityVersion = "Xcode 3.0";
+ developmentRegion = English;
hasScannedForEncodings = 0;
+ knownRegions = (
+ English,
+ Japanese,
+ French,
+ German,
+ );
mainGroup = 2000E0C1AD91ACA63811D339;
productRefGroup = DCB546B00EC62A9F8CC4181A /* Products */;
projectDirPath = "";
@@ -12397,6 +12404,7 @@
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = fltk.pch;
+ GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
HEADER_SEARCH_PATHS = (
../../ide/XCode3/,
../../,
@@ -15575,6 +15583,7 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = fltk.pch;
+ GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
HEADER_SEARCH_PATHS = (
../../ide/XCode3/,
../../,
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--;