diff options
Diffstat (limited to 'src/base/condcodes.hh')
-rw-r--r-- | src/base/condcodes.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/condcodes.hh b/src/base/condcodes.hh index efff12dc8..98defdb70 100644 --- a/src/base/condcodes.hh +++ b/src/base/condcodes.hh @@ -54,7 +54,7 @@ inline bool findOverflow(int width, uint64_t dest, uint64_t src1, uint64_t src2) { int shift = width - 1; - return ((src1 ^ ~src2) & (src1 ^ dest)) & (1 << shift); + return ((src1 ^ ~src2) & (src1 ^ dest)) & (1ULL << shift); } /** |