* as.c (main): Print long values using %ld.

This commit is contained in:
Ian Lance Taylor 1994-01-27 21:53:17 +00:00
parent a57180adea
commit fe9205735e
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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));