Make MAX_CSS_VAR_LENGTH unsigned to avoid warnings.

Follow-up for #891. Tag #457.
This commit is contained in:
wolfbeast 2019-01-04 16:03:13 +01:00 committed by Roy Tam
commit f09b84deb0

View file

@ -1551,7 +1551,7 @@ protected:
nsCSSExpandedDataBlock mData;
// Value to make sure our resolved variable results stay within sane limits.
const int32_t MAX_CSS_VAR_LENGTH = 10240;
const uint32_t MAX_CSS_VAR_LENGTH = 10240;
public:
// Used from nsCSSParser constructors and destructors