aboutsummaryrefslogtreecommitdiffstats
path: root/clang-plugin
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-11 16:43:40 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-11 16:43:40 +0000
commit4c2c2a064a4756601cf43a267ff77278bb993257 (patch)
tree99fb2427a028c49b3e44326e499e0be42003a714 /clang-plugin
parent432c149841757951d781307de88b31d08d705109 (diff)
downloadrspamd-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.cc3
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");
}