Skip to content

Commit b95633b

Browse files
zqb-allborneoa
authored andcommitted
flash: convert 'unsigned' to 'unsigned int'
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]>
1 parent 114ad46 commit b95633b

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/flash/nand/mx3.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ enum mx_nf_finalize_action {
8686
};
8787

8888
struct mx3_nf_flags {
89-
unsigned target_little_endian:1;
90-
unsigned nand_readonly:1;
91-
unsigned one_kb_sram:1;
92-
unsigned hw_ecc_enabled:1;
89+
unsigned int target_little_endian:1;
90+
unsigned int nand_readonly:1;
91+
unsigned int one_kb_sram:1;
92+
unsigned int hw_ecc_enabled:1;
9393
};
9494

9595
struct mx3_nf_controller {

src/flash/nand/mxc.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,11 @@ enum mxc_nf_finalize_action {
138138
};
139139

140140
struct mxc_nf_flags {
141-
unsigned target_little_endian:1;
142-
unsigned nand_readonly:1;
143-
unsigned one_kb_sram:1;
144-
unsigned hw_ecc_enabled:1;
145-
unsigned biswap_enabled:1;
141+
unsigned int target_little_endian:1;
142+
unsigned int nand_readonly:1;
143+
unsigned int one_kb_sram:1;
144+
unsigned int hw_ecc_enabled:1;
145+
unsigned int biswap_enabled:1;
146146
};
147147

148148
struct mxc_nf_controller {

0 commit comments

Comments
 (0)