diff options
| author | Nat Goodspeed <nat@lindenlab.com> | 2011-11-17 10:02:05 -0500 | 
|---|---|---|
| committer | Nat Goodspeed <nat@lindenlab.com> | 2011-11-17 10:02:05 -0500 | 
| commit | e62c691aab36b50d3eecb99310d5652d0b8e6f23 (patch) | |
| tree | 60cffef87ab53d86141bb28ee201847513125c01 | |
| parent | cc1fb7bcac2924674763d917f66d84fbadb11623 (diff) | |
LLSD-14: Fix silly syntax error in subscript bounds check.
| -rw-r--r-- | indra/llcommon/llsd.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/indra/llcommon/llsd.cpp b/indra/llcommon/llsd.cpp index 862b6b5ebc..b0801745d7 100644 --- a/indra/llcommon/llsd.cpp +++ b/indra/llcommon/llsd.cpp @@ -964,7 +964,7 @@ std::string		LLSD::typeString(Type type)  		"Array"  	}; -	if (0 <= type < (sizeof(sTypeNameArray)/sizeof(sTypeNameArray[0]))) +	if (0 <= type && type < (sizeof(sTypeNameArray)/sizeof(sTypeNameArray[0])))  	{  		return sTypeNameArray[type];  	} | 
