From dfce7fa7b664815bbce363d252033094a0dfe843 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Fri, 4 Jan 2019 16:03:13 +0100 Subject: Make MAX_CSS_VAR_LENGTH unsigned to avoid warnings. Follow-up for #891. Tag #457. --- layout/style/nsCSSParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layout') diff --git a/layout/style/nsCSSParser.cpp b/layout/style/nsCSSParser.cpp index 33e5fe56d..736c66f87 100644 --- a/layout/style/nsCSSParser.cpp +++ b/layout/style/nsCSSParser.cpp @@ -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 -- cgit v1.2.3