mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
gcc warning cleanups.
This commit is contained in:
2
CRT.c
2
CRT.c
@ -552,7 +552,7 @@ void CRT_init(int delay, int colorScheme) {
|
||||
CRT_colorScheme = colorScheme;
|
||||
|
||||
for (int i = 0; i < LAST_COLORELEMENT; i++) {
|
||||
int color = CRT_colorSchemes[COLORSCHEME_DEFAULT][i];
|
||||
unsigned int color = CRT_colorSchemes[COLORSCHEME_DEFAULT][i];
|
||||
CRT_colorSchemes[COLORSCHEME_BROKENGRAY][i] = color == (A_BOLD | ColorPair(Black,Black)) ? ColorPair(White,Black) : color;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user