summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-12-15 09:35:12 -0500
committerNat Goodspeed <nat@lindenlab.com>2016-12-15 09:35:12 -0500
commit3cf542d81d378112ba98472e8315f0dd9dd4342a (patch)
tree738a19ab0b5603ded437c5f878fb7120994bc293
parent61fcda2c02414f8fe79c8e74b4ed37c2d707eefd (diff)
DRTVWR-418: Store std::string::find() result in size_t, not U32.
In a 64-bit build, std::string::npos is way bigger than a U32.
-rw-r--r--indra/llvfs/lldir_mac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llvfs/lldir_mac.cpp b/indra/llvfs/lldir_mac.cpp
index 4038c92465..30a1ac975e 100644
--- a/indra/llvfs/lldir_mac.cpp
+++ b/indra/llvfs/lldir_mac.cpp
@@ -94,7 +94,7 @@ LLDir_Mac::LLDir_Mac()
// MBW -- This keeps the mac application from finding other things.
// If this is really for skins, it should JUST apply to skins.
- U32 build_dir_pos = mExecutableDir.rfind("/build-darwin-");
+ std::size_t build_dir_pos = mExecutableDir.rfind("/build-darwin-");
if (build_dir_pos != std::string::npos)
{
// ...we're in a dev checkout