From 5babc076f5170bc5cba578e0b8b39e61aa20ce38 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 15 Sep 2019 12:42:43 +1000 Subject: [PATCH] Bitfield: Fix incorrect shift in operator<<= --- src/common/bitfield.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/bitfield.h b/src/common/bitfield.h index 77e953be7..83abee13e 100644 --- a/src/common/bitfield.h +++ b/src/common/bitfield.h @@ -88,7 +88,7 @@ struct BitField BitField& operator<<=(DataType rhs) { - SetValue(GetValue() >> rhs); + SetValue(GetValue() << rhs); return *this; }