From 5f76e126e8fd1124c243e9b6232ddce717cbb220 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 17 Mar 2023 23:54:50 +0100 Subject: [PATCH] *printf-posix: ISO C 23: Add %b directive for binary output of integers. * lib/printf-parse.h: Update more comments. --- lib/printf-parse.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/printf-parse.h b/lib/printf-parse.h index fcb3cc462e..dc4bcfe2a3 100644 --- a/lib/printf-parse.h +++ b/lib/printf-parse.h @@ -91,7 +91,7 @@ typedef struct const uint8_t* precision_start; const uint8_t* precision_end; size_t precision_arg_index; - uint8_t conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ + uint8_t conversion; /* d i b o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } u8_directive; @@ -119,7 +119,7 @@ typedef struct const uint16_t* precision_start; const uint16_t* precision_end; size_t precision_arg_index; - uint16_t conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ + uint16_t conversion; /* d i b o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } u16_directive; @@ -147,7 +147,7 @@ typedef struct const uint32_t* precision_start; const uint32_t* precision_end; size_t precision_arg_index; - uint32_t conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ + uint32_t conversion; /* d i b o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } u32_directive; -- 2.39.5