>From 4e8cb6fb26abc2601850577d13bbc669beee0290 Mon Sep 17 00:00:00 2001 From: Robert Dubner <rdub...@symas.com> Date: Tue, 1 Jul 2025 12:02:21 -0400 Subject: [PATCH] cobol: Repair printf format of size_t.
gcc/cobol/ChangeLog: * parse.y: printf() of size_t is %zu, not %ld. --- gcc/cobol/parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cobol/parse.y b/gcc/cobol/parse.y index 57a41bbca71..74637c9641f 100644 --- a/gcc/cobol/parse.y +++ b/gcc/cobol/parse.y @@ -12404,7 +12404,7 @@ numstr2i( const char input[], radix_t radix ) { return output; } if( erc == -1 ) { - yywarn("'%s' was accepted as %ld", input, integer); + yywarn("'%s' was accepted as %zu", input, integer); } return output; } -- 2.34.1