From: Robert Dubner Date: Tue, 1 Jul 2025 16:02:21 +0000 (-0400) Subject: cobol: Repair printf format of size_t. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f471ed487ab36651d48c6c31fb28d36a42a30829;p=thirdparty%2Fgcc.git cobol: Repair printf format of size_t. gcc/cobol/ChangeLog: * parse.y: printf() of size_t is %zu, not %ld. --- 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; }