mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-21 07:23:38 +08:00
Fix warning in ldbuildid.c mingw32 code
* ldbuildid.c (generate_build_id): Warning fix.
This commit is contained in:
parent
23fcf59aeb
commit
7fca8e8ff7
@ -1,3 +1,7 @@
|
||||
2016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
|
||||
|
||||
* ldbuildid.c (generate_build_id): Warning fix.
|
||||
|
||||
2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
|
||||
|
||||
* testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user