From d4ed83762519c16e01221e655741bb621a792602 Mon Sep 17 00:00:00 2001 From: Antoni Villalonga Date: Wed, 14 Sep 2022 06:56:55 +0000 Subject: [PATCH] fmt: Define GLOBALS 'width' as long, not int This change fixes fmt toy for Linux/s390x. Without that change width value is always 0 on that arch. --- toys/other/fmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toys/other/fmt.c b/toys/other/fmt.c index a4460ec2..744d67a3 100644 --- a/toys/other/fmt.c +++ b/toys/other/fmt.c @@ -27,7 +27,7 @@ config FMT #include "toys.h" GLOBALS( - int width; + long width; int level, pos; ) -- 2.39.2