Skip to content

Commit f7d6a49

Browse files
committed
Include unsigned long long in result = 64
1 parent db276dc commit f7d6a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/misra/src/rules/RULE-10-2-3/UnscopedEnumWithoutFixedUnderlyingTypeUsed.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ int enumMinBits(Enum e, boolean signed) {
141141
result = 32 and signed = false
142142
) else (
143143
// 64 bits: everything else
144-
result = 64 and signed = true
144+
result = 64 and signed = [true, false]
145145
)
146146
)
147147
}

0 commit comments

Comments
 (0)