diff options
| author | callum_linden <none@none> | 2014-10-17 15:11:10 -0700 | 
|---|---|---|
| committer | callum_linden <none@none> | 2014-10-17 15:11:10 -0700 | 
| commit | 76a35059f2d4dfb17223de9bff493379793f5cc0 (patch) | |
| tree | 7ec229ae59f2ca8e013c0ad4535baa0489401d84 /indra | |
| parent | 77d7edd415bad394a9311b86937d124123badf19 (diff) | |
Update to build on Xcode 6.0: clang detecting unsigned int (size_t) comparison with <0 [-Wtautological-compare]
Diffstat (limited to 'indra')
| -rwxr-xr-x | indra/llaudio/llaudiodecodemgr.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/indra/llaudio/llaudiodecodemgr.cpp b/indra/llaudio/llaudiodecodemgr.cpp index 20a7afc748..56a91ee39b 100755 --- a/indra/llaudio/llaudiodecodemgr.cpp +++ b/indra/llaudio/llaudiodecodemgr.cpp @@ -247,8 +247,7 @@ BOOL LLVorbisDecodeState::initDecode()  		LL_WARNS("AudioEngine") << "Illegal sample count: " << sample_count << LL_ENDL;  	} -	if( size_guess > LLVORBIS_CLIP_REJECT_SIZE || -	    size_guess < 0) +	if( size_guess > LLVORBIS_CLIP_REJECT_SIZE )  	{  		abort_decode = true;  		LL_WARNS("AudioEngine") << "Illegal sample size: " << size_guess << LL_ENDL; | 
