diff options
| author | Nat Goodspeed <nat@lindenlab.com> | 2016-12-19 22:51:40 -0500 | 
|---|---|---|
| committer | Nat Goodspeed <nat@lindenlab.com> | 2016-12-19 22:51:40 -0500 | 
| commit | 555259e50ff9b49200c0535a60dea488881104bb (patch) | |
| tree | 13b426aa1d1551102af92774960d77928aa04a28 | |
| parent | f130b648b4856663481f124711afc285babd5614 (diff) | |
DRTVWR-418: Avoid casting sa_sigaction to unsigned int for comparing.
It's not really clear to me why the original coder felt it necessary to cast
the two sigaction::sa_sigaction fields to unsigned int in the first place, but
in a 64-bit clang compile, that discards information.
| -rw-r--r-- | indra/newview/llappviewermacosx.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/indra/newview/llappviewermacosx.cpp b/indra/newview/llappviewermacosx.cpp index 4fe1e31668..bb3bcf2886 100644 --- a/indra/newview/llappviewermacosx.cpp +++ b/indra/newview/llappviewermacosx.cpp @@ -260,7 +260,7 @@ bool LLAppViewerMacOSX::restoreErrorTrap()  	unsigned int reset_count = 0;  #define SET_SIG(S) 	sigaction(SIGABRT, &act, &old_act); \ -					if((unsigned int)act.sa_sigaction != (unsigned int) old_act.sa_sigaction) \ +					if(act.sa_sigaction != old_act.sa_sigaction) \  						++reset_count;  	// Synchronous signals  	SET_SIG(SIGABRT) | 
