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
parent 651f0bfce6
commit f09b84deb0
+1 -1
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