diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-11 16:43:40 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-11 16:43:40 +0000 |
commit | 4c2c2a064a4756601cf43a267ff77278bb993257 (patch) | |
tree | 99fb2427a028c49b3e44326e499e0be42003a714 /clang-plugin | |
parent | 432c149841757951d781307de88b31d08d705109 (diff) | |
download | rspamd-4c2c2a064a4756601cf43a267ff77278bb993257.tar.gz rspamd-4c2c2a064a4756601cf43a267ff77278bb993257.zip |
Char is actually int due to propagation
Diffstat (limited to 'clang-plugin')
-rw-r--r-- | clang-plugin/printf_check.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang-plugin/printf_check.cc b/clang-plugin/printf_check.cc index 76c1631bb..9cba313b3 100644 --- a/clang-plugin/printf_check.cc +++ b/clang-plugin/printf_check.cc @@ -511,7 +511,8 @@ namespace rspamd { return check_builtin_type (arg, ctx, {BuiltinType::Kind::UChar, - BuiltinType::Kind::SChar}, + BuiltinType::Kind::SChar, + BuiltinType::Kind::Int}, // Because of char -> int propagation "%c"); } |