Replace xmalloc/xfree with vector in jit.c
[deliverable/binutils-gdb.git] / binutils / strings.c
index 648bdc081271b2c9c7505066a5622b009cd58437..8150c1181df3250ad2dc5de4f38cdbfad1b7fa71 100644 (file)
@@ -332,7 +332,7 @@ strings_a_section (bfd *abfd, asection *sect, const char *filename,
   if ((sect->flags & DATA_FLAGS) != DATA_FLAGS)
     return;
 
-  sectsize = bfd_get_section_size (sect);
+  sectsize = bfd_section_size (sect);
   if (sectsize == 0)
     return;
 
@@ -633,7 +633,7 @@ print_strings (const char *filename, FILE *stream, file_ptr address,
            if (sizeof (start) > sizeof (long))
              {
 # ifndef __MSVCRT__
-               printf ("%7lld ", (unsigned long long) start);
+               printf ("%7llu ", (unsigned long long) start);
 # else
                printf ("%7I64d ", (unsigned long long) start);
 # endif
@@ -641,7 +641,7 @@ print_strings (const char *filename, FILE *stream, file_ptr address,
            else
 #elif !BFD_HOST_64BIT_LONG
              if (start != (unsigned long) start)
-               printf ("++%7ld ", (unsigned long) start);
+               printf ("++%7lu ", (unsigned long) start);
              else
 #endif
                printf ("%7ld ", (long) start);
This page took 0.027971 seconds and 4 git commands to generate.