diff options
-rw-r--r-- | src/lib/block/mars/mars.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/block/mars/mars.cpp b/src/lib/block/mars/mars.cpp index becbbf2db..1c41134d3 100644 --- a/src/lib/block/mars/mars.cpp +++ b/src/lib/block/mars/mars.cpp @@ -216,7 +216,7 @@ u32bit gen_mask(u32bit input) if(value == 0 || value == 0x3FF) { - mask |= 1 << j; + mask |= static_cast<u32bit>(1) << j; break; } } |