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 34
34
35
35
# Reset this number to 0 on major V8 upgrades.
36
36
# Increment by one for each non-official patch applied to deps/v8.
37
- 'v8_embedder_string' : '-node.53 ' ,
37
+ 'v8_embedder_string' : '-node.54 ' ,
38
38
39
39
##### V8 defaults for Node.js #####
40
40
Original file line number Diff line number Diff line change @@ -357,14 +357,14 @@ inline T RoundDown(T x, intptr_t m) {
357
357
STATIC_ASSERT (std::is_integral<T>::value);
358
358
// m must be a power of two.
359
359
DCHECK (m != 0 && ((m & (m - 1 )) == 0 ));
360
- return x & -m ;
360
+ return x & static_cast <T>(-m) ;
361
361
}
362
362
template <intptr_t m, typename T>
363
363
constexpr inline T RoundDown (T x) {
364
364
STATIC_ASSERT (std::is_integral<T>::value);
365
365
// m must be a power of two.
366
366
STATIC_ASSERT (m != 0 && ((m & (m - 1 )) == 0 ));
367
- return x & -m ;
367
+ return x & static_cast <T>(-m) ;
368
368
}
369
369
370
370
// Return the smallest multiple of m which is >= x.
You can’t perform that action at this time.
0 commit comments