MIPS/ld/testsuite: Limit export class call reloc tests to DSO targets
[deliverable/binutils-gdb.git] / ld / ldbuildid.c
index d2dccc5c30be159579bc44cc9d1b8f2c6d72d771..7d25a9251a90abc6bc52d4691ff57d06b81fc114 100644 (file)
@@ -1,5 +1,5 @@
 /* ldbuildid.c - Build Id support routines
-   Copyright (C) 2013-2016 Free Software Foundation, Inc.
+   Copyright (C) 2013-2018 Free Software Foundation, Inc.
 
    This file is part of the GNU Binutils.
 
@@ -152,7 +152,8 @@ generate_build_id (bfd *abfd,
          return FALSE;
        }
       FreeLibrary (rpc_library);
-      memcpy (id_bits, &uuid, size < sizeof (UUID) ? size : sizeof (UUID));
+      memcpy (id_bits, &uuid,
+             (size_t) size < sizeof (UUID) ? (size_t) size : sizeof (UUID));
 #endif /* __MINGW32__ */
     }
   else if (strneq (style, "0x", 2))
This page took 0.023812 seconds and 4 git commands to generate.