diff options
Diffstat (limited to 'indra/newview/llenvironment.cpp')
-rw-r--r-- | indra/newview/llenvironment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llenvironment.cpp b/indra/newview/llenvironment.cpp index e0cfbbf79e..54275446e3 100644 --- a/indra/newview/llenvironment.cpp +++ b/indra/newview/llenvironment.cpp @@ -1529,7 +1529,7 @@ S32 LLEnvironment::calculateSkyTrackForAltitude(F64 altitude) else if (it == mTrackAltitudes.end()) return 4; - return std::min(std::distance(mTrackAltitudes.begin(), it), 4LL); + return llmin(std::distance(mTrackAltitudes.begin(), it), 4LL); } |