Skip to content

Commit eeb09ae

Browse files
committed
C++: Fix typo.
1 parent 3c4a386 commit eeb09ae

File tree

1 file changed

+2
-2
lines changed
  • cpp/ql/test/query-tests/Likely Bugs/Format/WrongTypeFormatArguments/Buildless

1 file changed

+2
-2
lines changed

cpp/ql/test/query-tests/Likely Bugs/Format/WrongTypeFormatArguments/Buildless/second.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ void test_size_t() {
1010

1111
printf("%zd", s); // GOOD
1212
printf("%zi", s); // GOOD
13-
printf("%zu", s); // GOOD (we generally permits signedness changes) [FALSE POSITIVE]
14-
printf("%zx", s); // GOOD (we generally permits signedness changes) [FALSE POSITIVE]
13+
printf("%zu", s); // GOOD (we generally permit signedness changes) [FALSE POSITIVE]
14+
printf("%zx", s); // GOOD (we generally permit signedness changes) [FALSE POSITIVE]
1515
printf("%d", s); // BAD
1616
printf("%ld", s); // BAD
1717
printf("%lld", s); // BAD

0 commit comments

Comments
 (0)