#define CORE_COMMONSZ ((long) &((struct core_dumpx *) 0)->c_entries \
+ sizeof (((struct core_dumpx *) 0)->c_entries))
#else
-#define CORE_COMMONSZ ((int) &((struct core_dump *) 0)->c_entries \
- + sizeof (((struct core_dump *) 0)->c_entries)
+#define CORE_COMMONSZ ((int) &((struct core_dump *) 0)->c_entries \
+ + sizeof (((struct core_dump *) 0)->c_entries))
#endif
/* Define prototypes for certain functions, to avoid a compiler warning
saying that they are missing. */
/* Issue warning if the core file was truncated during writing. */
if (c_flag & CORE_TRUNC)
- _bfd_error_handler (_("%B: warning core file truncated"), abfd);
+ _bfd_error_handler (_("%pB: warning core file truncated"), abfd);
/* Allocate core file header. */
#ifndef BFD64