diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-01-04 16:03:13 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-01-04 16:03:13 +0100 |
commit | dfce7fa7b664815bbce363d252033094a0dfe843 (patch) | |
tree | 9686b8d090113a780437e2a13386720faf99b7f1 /layout/style | |
parent | 483267ba97686781db9cec62c53ff93d9957639f (diff) | |
download | UXP-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/style')
-rw-r--r-- | layout/style/nsCSSParser.cpp | 2 |
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 |