aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRobert Dubner <rdubner@symas.com>2025-07-01 12:02:21 -0400
committerRobert Dubner <rdubner@symas.com>2025-07-01 12:09:03 -0400
commitf471ed487ab36651d48c6c31fb28d36a42a30829 (patch)
treea06e663e22e1252ddcc4405e8ee240f0ca57cd5d /gcc
parent01564529234461d84c7df1b0223fd908d8bcbfee (diff)
downloadgcc-f471ed487ab36651d48c6c31fb28d36a42a30829.zip
gcc-f471ed487ab36651d48c6c31fb28d36a42a30829.tar.gz
gcc-f471ed487ab36651d48c6c31fb28d36a42a30829.tar.bz2
cobol: Repair printf format of size_t.
gcc/cobol/ChangeLog: * parse.y: printf() of size_t is %zu, not %ld.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cobol/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cobol/parse.y b/gcc/cobol/parse.y
index 57a41bb..74637c9 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;
}