gas/
[binutils-gdb.git] / gas / read.c
index 19b434f30b94eb90e2e54bb9feb732fe4c4016b5..4c13d874ede08d42d85b6fa62298645c8d6ab5d5 100644 (file)
@@ -4106,8 +4106,13 @@ emit_expr (expressionS *exp, unsigned int nbytes)
          && ((get & mask) != mask
              || (get & hibit) == 0))
        {               /* Leading bits contain both 0s & 1s.  */
+#if defined (BFD64) && BFD_HOST_64BIT_LONG_LONG
          as_warn (_("value 0x%llx truncated to 0x%llx"),
                   (unsigned long long) get, (unsigned long long) use);
+#else
+         as_warn (_("value 0x%lx truncated to 0x%lx"),
+                  (unsigned long) get, (unsigned long) use);
+#endif
        }
       /* Put bytes in right order.  */
       md_number_to_chars (p, use, (int) nbytes);