ld: Add --warn-textrel and obsolete --warn-shared-textrel
[deliverable/binutils-gdb.git] / ld / ldbuildid.c
index d3c406c017823bda4cd4009238ff86268de82b46..d7eb6ae560b8c465c3602ab8082f3cad4c91b1c1 100644 (file)
@@ -1,5 +1,5 @@
 /* ldbuildid.c - Build Id support routines
-   Copyright (C) 2013-2017 Free Software Foundation, Inc.
+   Copyright (C) 2013-2020 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);
This page took 0.025262 seconds and 4 git commands to generate.