Skip to content

Commit

Permalink
flash: convert 'unsigned' to 'unsigned int'
Browse files Browse the repository at this point in the history
Change-Id: I8e8da78385eed714524891b580e19a79cfb459d3
Signed-off-by: Mark Zhuang <[email protected]>
Reviewed-on: https://review.openocd.org/c/openocd/+/8370
Tested-by: jenkins
Reviewed-by: Antonio Borneo <[email protected]>
  • Loading branch information
zqb-all authored and borneoa committed Nov 2, 2024
1 parent 114ad46 commit b95633b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/flash/nand/mx3.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ enum mx_nf_finalize_action {
};

struct mx3_nf_flags {
unsigned target_little_endian:1;
unsigned nand_readonly:1;
unsigned one_kb_sram:1;
unsigned hw_ecc_enabled:1;
unsigned int target_little_endian:1;
unsigned int nand_readonly:1;
unsigned int one_kb_sram:1;
unsigned int hw_ecc_enabled:1;
};

struct mx3_nf_controller {
Expand Down
10 changes: 5 additions & 5 deletions src/flash/nand/mxc.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ enum mxc_nf_finalize_action {
};

struct mxc_nf_flags {
unsigned target_little_endian:1;
unsigned nand_readonly:1;
unsigned one_kb_sram:1;
unsigned hw_ecc_enabled:1;
unsigned biswap_enabled:1;
unsigned int target_little_endian:1;
unsigned int nand_readonly:1;
unsigned int one_kb_sram:1;
unsigned int hw_ecc_enabled:1;
unsigned int biswap_enabled:1;
};

struct mxc_nf_controller {
Expand Down

0 comments on commit b95633b

Please sign in to comment.