FIX TYPO IN PACKED REGISTER STATIC ASSERT

This commit is contained in:
Nicolas Clauvelin
2018-03-13 08:51:23 -04:00
parent bbdf513156
commit 49d19f1b20

View File

@@ -142,7 +142,7 @@ namespace cppreg {
static_assert((
(BitOffset % RegWidth) == 0
&&
(RegisterPack::pack_address % (RegWidth / 8u) == 0)
(RegisterPack::pack_base % (RegWidth / 8u) == 0)
),
"register mis-alignment with respect to pack base");