diff --git a/contrib/top/utils.c b/contrib/top/utils.c index 43072b1eccb..807f7ee30a2 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)