src: fix non-constant value error
This commit is contained in:
parent
af170cc9bb
commit
b03d9a4c2f
|
@ -4,8 +4,8 @@
|
|||
#include "src/common.h"
|
||||
|
||||
static const size_t kErrorPrefixShift = 16;
|
||||
static const int kErrorValueMask = (1 << kErrorPrefixShift) - 1;
|
||||
static const unsigned int kErrorPrefixMask = ~kErrorValueMask;
|
||||
static const int kErrorValueMask = (1 << 16) - 1;
|
||||
static const unsigned int kErrorPrefixMask = ~((1 << 16) - 1);
|
||||
|
||||
static void uv_link_maybe_close(uv_link_t* link);
|
||||
|
||||
|
|
Loading…
Reference in New Issue