diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-15 19:58:35 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-15 19:58:35 -0400 |
commit | c3ff775bfe4556ffbe920cbfbc860e471dfc7f07 (patch) | |
tree | 0fbeaafb2ec09955240bac3eb3a9bbe49a44f52e /src/twm.h | |
parent | f7a9ead69089a862fbd9aab6995980d3ecd290bf (diff) |
fix gcc-normal compiler warnings, no object change
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/twm.h')
-rw-r--r-- | src/twm.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -212,8 +212,8 @@ typedef struct Colormaps char *scoreboard; /* conflicts between installable colortables */ } Colormaps; -#define ColormapsScoreboardLength(cm) ((cm)->number_cwins * \ - ((cm)->number_cwins - 1) / 2) +#define ColormapsScoreboardLength(cm) (size_t)((cm)->number_cwins * \ + ((cm)->number_cwins - 1) / 2) /* for each window that is on the display, one of these structures * is allocated and linked into a list |