Skip to content

Commit b3df289

Browse files
committed
CPP: Fix test.
1 parent 2d8e4b3 commit b3df289

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/query-tests/Likely Bugs/Format/WrongNumberOfFormatArguments

1 file changed

+1
-1
lines changed

cpp/ql/test/query-tests/Likely Bugs/Format/WrongNumberOfFormatArguments/a.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ __attribute__((format(printf, 1, 3)))
99
void myMultiplyDefinedPrintf2(const char *format, int extraArg, ...);
1010

1111
__attribute__((format(printf, 2, 3)))
12-
void myMultiplyDefinedPrintf3(int extraArg, const char *format, ...);
12+
void myMultiplyDefinedPrintf3(const char *extraArg, const char *format, ...);
1313

1414
void test_custom_printf1()
1515
{

0 commit comments

Comments
 (0)