Skip to content

Commit 0b15eb0

Browse files
thesamesamigaw
authored andcommitted
plugins/innogrit: u_char -> unsigned char
`u_char` is not a standard name for `unsigned char` and may not work; some implementations may provide it for convenience. Signed-off-by: Sam James <sam@gentoo.org>
1 parent ac2ff1d commit 0b15eb0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/innogrit/typedef.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ struct vsc_smart_log {
5353
unsigned int low_pwr_cnt;
5454
unsigned int wa;
5555
unsigned int ps3_entry_cnt;
56-
u_char highest_temp[4];
56+
unsigned char highest_temp[4];
5757
unsigned int weight_ec;
5858
unsigned int slc_cap_mb;
5959
unsigned long long nand_page_write_cnt;
6060
unsigned int program_error_cnt;
6161
unsigned int erase_error_cnt;
62-
u_char flash_type;
63-
u_char reserved2[3];
62+
unsigned char flash_type;
63+
unsigned char reserved2[3];
6464
unsigned int hs_crc_err_cnt;
6565
unsigned int ddr_ecc_err_cnt;
6666
unsigned int reserved3[44];

0 commit comments

Comments
 (0)