Remove OS X Xcode compiler warnings.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2010-10-22 15:15:23 +00:00
parent 3eddf4dcfc
commit 463416d0c7
2 changed files with 11 additions and 2 deletions

View File

@ -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/,
../../,

View File

@ -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--;