Skip to content

Commit

Permalink
resolve warning about bitfield
Browse files Browse the repository at this point in the history
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
  • Loading branch information
SergeySlice committed Dec 4, 2023
1 parent c24f740 commit 67a383a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Library/OcGuardLib/UbsanPrintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,11 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* Implementation
*/
struct param {
char lz:1; /**< Leading zeros */
char alt:1; /**< alternate form */
char uc:1; /**< Upper case (for base16 only) */
char align_left:1; /**< 0 == align right (default), 1 == align left */
unsigned char lz:1; /**< Leading zeros */
unsigned char alt:1; /**< alternate form */
unsigned char uc:1; /**< Upper case (for base16 only) */
unsigned char align_left:1; /**< 0 == align right (default), 1 == align left */
unsigned char space:4; //Slice - to align char size
unsigned int width; /**< field width */
char sign; /**< The sign to display (if any) */
unsigned int base; /**< number base (e.g.: 8, 10, 16) */
Expand Down

0 comments on commit 67a383a

Please sign in to comment.