aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-09-17 16:34:47 +0000
committerNick Clifton <nickc@redhat.com>2007-09-17 16:34:47 +0000
commit5c61236951045d12cce535fbdeb726ee03844f41 (patch)
tree9c57b9218ce430558dca6acc426b9d70bb9745c6 /gas/read.c
parent4145f1d576aa2f43ec679836c45accaaf5c01d6f (diff)
downloadgdb-5c61236951045d12cce535fbdeb726ee03844f41.zip
gdb-5c61236951045d12cce535fbdeb726ee03844f41.tar.gz
gdb-5c61236951045d12cce535fbdeb726ee03844f41.tar.bz2
PR gas/5026
* read.c (emit_expr): Use unsigned long long values in warning message about truncated expressions.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/read.c b/gas/read.c
index 0abbdb2..19b434f 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -4106,8 +4106,8 @@ emit_expr (expressionS *exp, unsigned int nbytes)
&& ((get & mask) != mask
|| (get & hibit) == 0))
{ /* Leading bits contain both 0s & 1s. */
- as_warn (_("value 0x%lx truncated to 0x%lx"),
- (unsigned long) get, (unsigned long) use);
+ as_warn (_("value 0x%llx truncated to 0x%llx"),
+ (unsigned long long) get, (unsigned long long) use);
}
/* Put bytes in right order. */
md_number_to_chars (p, use, (int) nbytes);