File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 36
36
37
37
# Reset this number to 0 on major V8 upgrades.
38
38
# Increment by one for each non-official patch applied to deps/v8.
39
- 'v8_embedder_string' : '-node.70 ' ,
39
+ 'v8_embedder_string' : '-node.71 ' ,
40
40
41
41
##### V8 defaults for Node.js #####
42
42
Original file line number Diff line number Diff line change @@ -339,14 +339,14 @@ inline T RoundDown(T x, intptr_t m) {
339
339
STATIC_ASSERT (std::is_integral<T>::value);
340
340
// m must be a power of two.
341
341
DCHECK (m != 0 && ((m & (m - 1 )) == 0 ));
342
- return x & -m ;
342
+ return x & static_cast <T>(-m) ;
343
343
}
344
344
template <intptr_t m, typename T>
345
345
constexpr inline T RoundDown (T x) {
346
346
STATIC_ASSERT (std::is_integral<T>::value);
347
347
// m must be a power of two.
348
348
STATIC_ASSERT (m != 0 && ((m & (m - 1 )) == 0 ));
349
- return x & -m ;
349
+ return x & static_cast <T>(-m) ;
350
350
}
351
351
352
352
// Return the smallest multiple of m which is >= x.
You can’t perform that action at this time.
0 commit comments