Skip to content
Snippets Groups Projects
Commit 3cf542d8 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

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.
parent 61fcda2c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment