summaryrefslogtreecommitdiff
path: root/src/twm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/twm.h')
-rw-r--r--src/twm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/twm.h b/src/twm.h
index 8fe2555..6e1e17c 100644
--- a/src/twm.h
+++ b/src/twm.h
@@ -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