LLSD-14: Fix silly syntax error in subscript bounds check.
parent
cc1fb7bcac
commit
e62c691aab
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue