Fix find evaluation on newer versions of clang (and 64-bit macs)

This commit is contained in:
Cinder Biscuits
2014-09-07 20:16:22 -06:00
committed by Inusaito Sayori
parent 76616ee6f6
commit 2db2c96329

View File

@@ -150,7 +150,7 @@ LLDir_Mac::LLDir_Mac()
CFURLRef resourcesURLRef = CFBundleCopyResourcesDirectoryURL(mainBundleRef);
CFURLRefToLLString(resourcesURLRef, mAppRODataDir, true);
U32 build_dir_pos = mExecutableDir.rfind("/indra/build-darwin-");
size_t build_dir_pos = mExecutableDir.rfind("/indra/build-darwin-");
if (build_dir_pos != std::string::npos)
{
// ...we're in a dev checkout