opnsense-ports/lang/v8/files/patch-src-liveedit.cc
Franco Fichtner 1e6c5e9d29 */*: sync with upstream
Taken from: FreeBSD
2015-09-21 07:16:00 +02:00

11 lines
467 B
C++

--- src/liveedit.cc.orig 2013-05-01 12:56:29 UTC
+++ src/liveedit.cc
@@ -203,7 +203,7 @@ class Differencer {
static const int kDirectionSizeBits = 2;
static const int kDirectionMask = (1 << kDirectionSizeBits) - 1;
- static const int kEmptyCellValue = -1 << kDirectionSizeBits;
+ static const int kEmptyCellValue = -(1 << kDirectionSizeBits);
// This method only holds static assert statement (unfortunately you cannot
// place one in class scope).