projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0da7519
)
Correct expected type in check_scanf_format().
author
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 18 May 2012 20:59:28 +0000
(22:59 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 19 May 2012 08:10:36 +0000
(10:10 +0200)
The listed types must be the pointed-to types.
format_check.c
patch
|
blob
|
history
diff --git
a/format_check.c
b/format_check.c
index
5580d91
..
e300893
100644
(file)
--- a/
format_check.c
+++ b/
format_check.c
@@
-843,7
+843,7
@@
check_c_width:
warn_invalid_length_modifier(pos, fmt_mod, fmt);
goto next_arg;
}
- expected_type = type_void
_ptr
;
+ expected_type = type_void;
break;
case 'n': {