Skip to content

Commit

Permalink
Fix warning on Windows (#46)
Browse files Browse the repository at this point in the history
Refs #4975 Fix warning on Windows [5043]
  • Loading branch information
MiguelCompany authored Apr 4, 2019
2 parents a2f86b2 + ba57216 commit 193001a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ $else$
int size = $member.spec.bitSize$;
for (int i = base; i < base + size; ++i)
{
m_bitset.set(i, _$member.name$ & 0x01);
m_bitset.set(i, !!(_$member.name$ & 0x01));
_$member.name$ = _$member.name$ \>> 1;
}
$endif$
Expand Down

0 comments on commit 193001a

Please sign in to comment.