]> git.sur5r.net Git - cc65/blobdiff - src/ar65/list.c
goto.c warning fix for implicit truncation
[cc65] / src / ar65 / list.c
index 6562998605e616b91c7e832357334613ddc1416e..367c950dc0d8e00e7aeba3e34086965294d14f4d 100644 (file)
@@ -36,6 +36,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+/* common */
+#include "print.h"
+
 /* ar65 */
 #include "error.h"
 #include "library.h"
@@ -73,8 +76,10 @@ void ListObjFiles (int argc, char* argv [])
         /* Get the entry */
         O = CollConstAt (&ObjPool, I);
 
+        /* Print the size if verbose */
+        Print (stdout, 1, "%5lu ", O->Size);
         /* Print the name */
-        printf ("%s\n", O->Name);
+        puts (O->Name);
 
     }