summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/top/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/top/utils.c b/contrib/top/utils.c
index 43072b1..807f7ee 100644
--- a/contrib/top/utils.c
+++ b/contrib/top/utils.c
@@ -58,6 +58,7 @@ char *str;
* ever convert will be 2^32-1, which is 10
* digits.
*/
+_Static_assert(sizeof(int) <= 4, "buffer too small for this sized int");
char *itoa(val)
OpenPOWER on IntegriCloud