From 1642216b46f3beda10ec9d379cbda135349b684e Mon Sep 17 00:00:00 2001 From: Arne Goedeke <el@laramies.com> Date: Mon, 24 Feb 2014 14:06:09 +0100 Subject: [PATCH] sprintf: typo in compile time type of %b --- src/sprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sprintf.c b/src/sprintf.c index e59d2d2339..2b19fa05f1 100644 --- a/src/sprintf.c +++ b/src/sprintf.c @@ -2299,7 +2299,7 @@ static int push_sprintf_argument_types(PCHARP format, if ('7' > max_char) max_char = '7'; /* FALL_THROUGH */ case 'b': - if ('2' > max_char) max_char = '7'; + if ('1' > max_char) max_char = '1'; if ('+' < min_char) min_char = '+'; { push_object_type(0, 0); -- GitLab