mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 20:44:35 +03:00
Settings: use size_t for meter count in header
Header.c:150:26: error: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Werror,-Wimplicit-int-conversion] colSettings->len = len; ~ ^~~
This commit is contained in:

committed by
BenBE

parent
53732ab0bb
commit
ae1816e563
@ -22,7 +22,7 @@ in the source distribution for its full text.
|
||||
#define CONFIG_READER_MIN_VERSION 2
|
||||
|
||||
typedef struct {
|
||||
uint8_t len;
|
||||
size_t len;
|
||||
char** names;
|
||||
int* modes;
|
||||
} MeterColumnSetting;
|
||||
|
Reference in New Issue
Block a user