Fix build failure on macOS
[deliverable/binutils-gdb.git] / ld / ldbuildid.c
index 55ff3bed84d1b09575a5a93deb61a2ce6c24cab0..c4ad19992b51161bb42049a20fd92766ce79d426 100644 (file)
@@ -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.023011 seconds and 4 git commands to generate.