https://gcc.gnu.org/g:f471ed487ab36651d48c6c31fb28d36a42a30829
commit r16-1896-gf471ed487ab36651d48c6c31fb28d36a42a30829 Author: Robert Dubner <rdub...@symas.com> Date: Tue Jul 1 12:02:21 2025 -0400 cobol: Repair printf format of size_t. gcc/cobol/ChangeLog: * parse.y: printf() of size_t is %zu, not %ld. Diff: --- 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 57a41bbca718..74637c9641f5 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; }