diff options
author | nat-goodspeed <nat@lindenlab.com> | 2024-10-24 12:21:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-24 12:21:13 -0400 |
commit | b611324db58def7d65f4bfc721e7dc1c378b7fa3 (patch) | |
tree | 22074ffb1c262b9ffbb458a2836405e5c086ce7d /indra/llwindow/llwindowmacosx.cpp | |
parent | 299c37adaec5cf33981cbbaa3c25c68152b14725 (diff) | |
parent | 168a5f36b92f5cbc3d83248fb5ffbb47a3b7e223 (diff) |
Merge pull request #2585 from secondlife/marchcat/xcode-16
Xcode16 build fix
Diffstat (limited to 'indra/llwindow/llwindowmacosx.cpp')
-rw-r--r-- | indra/llwindow/llwindowmacosx.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp index 1883c6c9c1..b90e85d911 100644 --- a/indra/llwindow/llwindowmacosx.cpp +++ b/indra/llwindow/llwindowmacosx.cpp @@ -1037,7 +1037,7 @@ F32 LLWindowMacOSX::getGamma() const &greenGamma, &blueMin, &blueMax, - &blueGamma) == noErr) + &blueGamma) == static_cast<CGError>(noErr)) { // So many choices... // Let's just return the green channel gamma for now. @@ -1088,7 +1088,7 @@ bool LLWindowMacOSX::setGamma(const F32 gamma) &greenGamma, &blueMin, &blueMax, - &blueGamma) != noErr) + &blueGamma) != static_cast<CGError>(noErr)) { return false; } @@ -1103,7 +1103,7 @@ bool LLWindowMacOSX::setGamma(const F32 gamma) gamma, blueMin, blueMax, - gamma) != noErr) + gamma) != static_cast<CGError>(noErr)) { return false; } @@ -1155,7 +1155,7 @@ bool LLWindowMacOSX::setCursorPosition(const LLCoordWindow position) newPosition.y = screen_pos.mY; CGSetLocalEventsSuppressionInterval(0.0); - if(CGWarpMouseCursorPosition(newPosition) == noErr) + if(CGWarpMouseCursorPosition(newPosition) == static_cast<CGError>(noErr)) { result = true; } |