VirtualBox

Changeset 79012 in vbox for trunk/src/VBox/Runtime/r3/posix


Ignore:
Timestamp:
Jun 5, 2019 7:24:42 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/process-creation-posix.cpp: Try to dynamically resolve crypt_r on linux. [build fix] ticketref:18682

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/process-creation-posix.cpp

    r79011 r79012  
    194194        return pfnCryptR(pszKey, pszSalt, pData);
    195195
    196     pfnCryptR = (PFNCRYPTR)RTLdrGetSystemSymbol("libcrypt.so", "crypt_r");
     196    pfnCryptR = (PFNCRYPTR)(uintptr_t)RTLdrGetSystemSymbol("libcrypt.so", "crypt_r");
    197197    if (!pfnCryptR)
    198         pfnCryptR = (PFNCRYPTR)RTLdrGetSystemSymbol("libxcrypt.so", "crypt_r");
     198        pfnCryptR = (PFNCRYPTR)(uintptr_t)RTLdrGetSystemSymbol("libxcrypt.so", "crypt_r");
    199199    if (pfnCryptR)
    200200    {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette