From: Ian Lance Taylor Date: Thu, 27 Jan 1994 21:53:17 +0000 (+0000) Subject: * as.c (main): Print long values using %ld. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe9205735ea336f227ecc828c974f1aae9be2244;p=binutils-gdb.git * as.c (main): Print long values using %ld. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index a06abfc9280..658a7d5a2c5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,7 @@ Thu Jan 27 16:43:51 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + * as.c (main): Print long values using %ld. + * messages.c (as_warn_internal): New static function. (as_warn, 3 versions): Use as_warn_internal. (as_warn_where, 3 versions): New function. diff --git a/gas/as.c b/gas/as.c index cf34a67f23d..4e45f16bdbc 100644 --- a/gas/as.c +++ b/gas/as.c @@ -387,7 +387,7 @@ main (argc, argv) char *lim = (char *) sbrk (0); long run_time = get_run_time () - start_time; - fprintf (stderr, "%s: total time in assembly: %d.%06d\n", + fprintf (stderr, "%s: total time in assembly: %ld.%06ld\n", myname, run_time / 1000000, run_time % 1000000); fprintf (stderr, "%s: data size %ld\n", myname, (long) (lim - (char *) &environ));