]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/ldbuildid.c
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / ld / ldbuildid.c
index 7d25a9251a90abc6bc52d4691ff57d06b81fc114..c55a939ae2f985c98840f868fe0e2b9d7f3eeae5 100644 (file)
@@ -1,5 +1,5 @@
 /* ldbuildid.c - Build Id support routines
-   Copyright (C) 2013-2018 Free Software Foundation, Inc.
+   Copyright (C) 2013-2021 Free Software Foundation, Inc.
 
    This file is part of the GNU Binutils.
 
@@ -139,7 +139,7 @@ generate_build_id (bfd *abfd,
 
       if (!rpc_library)
        return FALSE;
-      uuid_create = (UuidCreateFn) GetProcAddress (rpc_library, "UuidCreate");
+      uuid_create = (UuidCreateFn) (void (WINAPI *)(void)) GetProcAddress (rpc_library, "UuidCreate");
       if (!uuid_create)
        {
          FreeLibrary (rpc_library);