--- ipvsadm/ipvsadm.c +++ ipvsadm/ipvsadm.c 2022/09/06 11:18:40 @@ -1823,7 +1823,7 @@ static void print_largenum(unsigned long int len; len = snprintf(mytmp, 32, "%llu", i); - printf("%*llu", len <= 8 ? 9 : len + 1, i); + printf("%*llu", (int)(len <= 8 ? 9 : len + 1), i); return; }