OSDN Git Service

Fix compile time failure
authornickc <nickc>
Thu, 14 Mar 2002 09:41:52 +0000 (09:41 +0000)
committernickc <nickc>
Thu, 14 Mar 2002 09:41:52 +0000 (09:41 +0000)
bfd/ChangeLog
bfd/mmo.c

index ca7dfbd..d4e3a3b 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-14  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * mmo.c (mmo_get_loc): Return NULL rather than false.
+
 2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * po/fr.po: Updated version.
index 31ba035..bc3b147 100644 (file)
--- a/bfd/mmo.c
+++ b/bfd/mmo.c
@@ -1523,7 +1523,7 @@ mmo_get_loc (sec, vma, size)
   entry = (mmo_data_list_type *)
     bfd_zalloc (sec->owner, sizeof (mmo_data_list_type) + allocated_size);
   if (entry == NULL)
-    return false;
+    return NULL;
   entry->where = vma;
   entry->size = size;
   entry->allocated_size = allocated_size;