Skip to content

Commit c4c75ff

Browse files
committed
Step.cpp: fix 32bit/64bit issue
1 parent e35f120 commit c4c75ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gtestverilog/lib/Step.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace gtestverilog {
2121

2222
PortValue& value = ports[&portDesc];
2323

24-
portMask |= (1 << portId);
24+
portMask |= (uint64_t(1) << portId);
2525

2626
return value;
2727
}

0 commit comments

Comments
 (0)