diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-01-07 12:09:02 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-01-07 03:15:27 +0000 |
commit | 69a2687a27b1ad8a8a76ccd422e7d226c8ff5640 (patch) | |
tree | 1226968cc98780f75b1ba6e4b8e47f76f8d58b7d /ext | |
parent | 41fbcc519302f11835713498c211078bedfcb074 (diff) | |
download | ruby-69a2687a27b1ad8a8a76ccd422e7d226c8ff5640.tar.gz |
[ruby/bigdecimal] Fix format specifiers for `size_t`
https://github.com/ruby/bigdecimal/commit/99db3c9754
Diffstat (limited to 'ext')
-rw-r--r-- | ext/bigdecimal/bigdecimal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index d6ea35c615..aa3abb5409 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -6453,7 +6453,7 @@ VPrint(FILE *fp, const char *cntl_chr, Real *a) } } nc += fprintf(fp, "E%"PRIdSIZE, VpExponent10(a)); - nc += fprintf(fp, " (%"PRIdVALUE", %lu, %lu)", a->exponent, a->Prec, a->MaxPrec); + nc += fprintf(fp, " (%"PRIdVALUE", %"PRIuSIZE", %"PRIuSIZE")", a->exponent, a->Prec, a->MaxPrec); } else { nc += fprintf(fp, "0.0"); |