Skip to content

Commit ddb85d0

Browse files
committed
Oh no
1 parent f09cc5d commit ddb85d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c/misra/src/rules/RULE-21-15/MemcpyMemmoveMemcmpArgNotPointersToCompatibleTypes.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ where
3838
dstType instanceof ArrayType and
3939
srcType instanceof ArrayType
4040
) and
41-
dstType = srcType
41+
not dstType = srcType
4242
)
4343
select fc,
4444
"The dest type " + fc.getArgument(0).getUnspecifiedType() + " and src type " +

0 commit comments

Comments
 (0)