mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 996798 patch 2 - Make the ability to change nsWrapperCache::FlagsType more portable. r=bzbarsky
Without this, an Android build on our automation gives: content/xul/content/src/nsXULElement.h:359:117: error: left shift count >= width of type [-Werror]
This commit is contained in:
parent
5f3c0b45ec
commit
05fedabeee
@ -79,7 +79,8 @@ struct DOMPointInit;
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#define NODE_FLAG_BIT(n_) (1U << (WRAPPER_CACHE_FLAGS_BITS_USED + (n_)))
|
||||
#define NODE_FLAG_BIT(n_) \
|
||||
(nsWrapperCache::FlagsType(1U) << (WRAPPER_CACHE_FLAGS_BITS_USED + (n_)))
|
||||
|
||||
enum {
|
||||
// This bit will be set if the node has a listener manager.
|
||||
|
Loading…
Reference in New Issue
Block a user