aboutsummaryrefslogtreecommitdiffstats
path: root/clang-plugin
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-22 16:26:29 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-22 16:26:29 +0000
commit07d6070ead1579494e251c654f9424ec184b6851 (patch)
tree5aa4f4dbd8c7a6aa6b5faeb5553edeb6f523d93c /clang-plugin
parentff982f60325a8cac8517f8383377c01a8dfb0a37 (diff)
downloadrspamd-07d6070ead1579494e251c654f9424ec184b6851.tar.gz
rspamd-07d6070ead1579494e251c654f9424ec184b6851.zip
Remove ambiguity between %b format modifiers
Diffstat (limited to 'clang-plugin')
-rw-r--r--clang-plugin/printf_check.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-plugin/printf_check.cc b/clang-plugin/printf_check.cc
index 6fd49c439..f27881e9f 100644
--- a/clang-plugin/printf_check.cc
+++ b/clang-plugin/printf_check.cc
@@ -190,7 +190,7 @@ namespace rspamd {
case 'D':
return llvm::make_unique<PrintfArgChecker> (int32_arg_handler,
this->pcontext, this->ci);
- case 'b':
+ case 'B':
return llvm::make_unique<PrintfArgChecker> (gboolean_arg_handler,
this->pcontext, this->ci);
case 'T':
@@ -372,7 +372,7 @@ namespace rspamd {
format_specs = {
's', 'd', 'l', 'L', 'v', 'V', 'f', 'F', 'g', 'G',
- 'T', 'z', 'D', 'c', 'p', 'P', 'e', 'b'
+ 'T', 'z', 'D', 'c', 'p', 'P', 'e', 'B'
};
};