diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-11-21 19:04:10 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-11-21 19:04:43 -0800 |
commit | fdf0468198631a456406edc09983972edb8fa5c4 (patch) | |
tree | f5ce27c1e879444754c0c9ccbf73a26e7f1b68d7 /lib/parse-datetime.y | |
parent | cd7fa0904bb6efb451ecc25907077fcfdf031824 (diff) | |
download | gnulib-fdf0468198631a456406edc09983972edb8fa5c4.tar.gz |
parse-datetime: fix printf format typo
* lib/parse-datetime.y (parse_datetime2): Fix format typo in
previous patch to this file. Problem reported by Chris Elvidge in
<https://bugs.gnu.org/44763#32>.
Diffstat (limited to 'lib/parse-datetime.y')
-rw-r--r-- | lib/parse-datetime.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/parse-datetime.y b/lib/parse-datetime.y index 44ae903502..e8ed691c8f 100644 --- a/lib/parse-datetime.y +++ b/lib/parse-datetime.y @@ -2298,7 +2298,8 @@ parse_datetime2 (struct timespec *result, char const *p, "%+"PRIdMAX" seconds, %+d ns),\n"), pc.rel.hour, pc.rel.minutes, pc.rel.seconds, pc.rel.ns); - dbg_printf (_(" new time = %"PRIdMAX" epoch-seconds\n"), t4); + intmax_t t4i = t4; + dbg_printf (_(" new time = %"PRIdMAX" epoch-seconds\n"), t4i); /* Warn about crossing DST due to time adjustment. Example: https://bugs.gnu.org/8357 |