mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
CPP: Fix format literal.
This commit is contained in:
@@ -6,7 +6,7 @@ void test1()
|
||||
long l;
|
||||
void *ptr;
|
||||
|
||||
printf("%l\n", l); // GOOD
|
||||
printf("%ld\n", l); // GOOD
|
||||
printf("%d\n", l); // BAD
|
||||
|
||||
printf("%p\n", ptr); // GOOD
|
||||
|
||||
Reference in New Issue
Block a user