Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/toolchain/binutils use %llu for unsigned long long ...
details: https://anonhg.NetBSD.org/src/rev/3023d284e6fd
branches: trunk
changeset: 550757:3023d284e6fd
user: itojun <itojun%NetBSD.org@localhost>
date: Wed Aug 20 13:58:08 2003 +0000
description:
use %llu for unsigned long long printing; PR bin/22552
diffstat:
gnu/dist/toolchain/binutils/strings.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 6eeb36357215 -r 3023d284e6fd gnu/dist/toolchain/binutils/strings.c
--- a/gnu/dist/toolchain/binutils/strings.c Wed Aug 20 13:54:48 2003 +0000
+++ b/gnu/dist/toolchain/binutils/strings.c Wed Aug 20 13:58:08 2003 +0000
@@ -550,12 +550,12 @@
case 10:
#if __STDC_VERSION__ >= 199901L || (defined(__GNUC__) && __GNUC__ >= 2)
if (sizeof (start) > sizeof (long))
- printf ("%7Ld ", (unsigned long long) start);
+ printf ("%7llu ", (unsigned long long) start);
else
#else
# if !BFD_HOST_64BIT_LONG
if (start != (unsigned long) start)
- printf ("++%7ld ", (unsigned long) start);
+ printf ("++%7llu ", (unsigned long) start);
else
# endif
#endif
Home |
Main Index |
Thread Index |
Old Index