https://gcc.gnu.org/g:8536d47f4bbd98476778199728f54f4074ca90ed
commit r15-10144-g8536d47f4bbd98476778199728f54f4074ca90ed 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. (cherry picked from commit f471ed487ab36651d48c6c31fb28d36a42a30829) 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; }