From 72a6fd4d2a7a2242dc4af3a25a7a175995e7fa9b Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Sat, 18 Jan 2020 10:35:50 -0500 Subject: Bug 1352082 - Avoid shifting a signed integer left in C++. Tag UXP Issue #1344 --- parser/html/nsHtml5AttributeName.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parser/html/nsHtml5AttributeName.h') diff --git a/parser/html/nsHtml5AttributeName.h b/parser/html/nsHtml5AttributeName.h index e12fb35cc..cd2e72714 100644 --- a/parser/html/nsHtml5AttributeName.h +++ b/parser/html/nsHtml5AttributeName.h @@ -78,7 +78,7 @@ class nsHtml5AttributeName static nsIAtom** SAME_LOCAL(nsIAtom* name); static nsHtml5AttributeName* nameByBuffer(char16_t* buf, int32_t offset, int32_t length, nsHtml5AtomTable* interner); private: - static int32_t bufToHash(char16_t* buf, int32_t len); + static uint32_t bufToHash(char16_t* buf, int32_t len); int32_t* uri; nsIAtom** local; nsIAtom** prefix; -- cgit v1.2.3