summaryrefslogtreecommitdiffstats
path: root/layout
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-01-04 16:03:13 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-01-04 16:03:13 +0100
commitdfce7fa7b664815bbce363d252033094a0dfe843 (patch)
tree9686b8d090113a780437e2a13386720faf99b7f1 /layout
parent483267ba97686781db9cec62c53ff93d9957639f (diff)
downloadUXP-dfce7fa7b664815bbce363d252033094a0dfe843.tar
UXP-dfce7fa7b664815bbce363d252033094a0dfe843.tar.gz
UXP-dfce7fa7b664815bbce363d252033094a0dfe843.tar.lz
UXP-dfce7fa7b664815bbce363d252033094a0dfe843.tar.xz
UXP-dfce7fa7b664815bbce363d252033094a0dfe843.zip
Make MAX_CSS_VAR_LENGTH unsigned to avoid warnings.
Follow-up for #891. Tag #457.
Diffstat (limited to 'layout')
-rw-r--r--layout/style/nsCSSParser.cpp2
1 files changed, 1 insertions, 1 deletions
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