VirtualBox

Changeset 92834 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 8, 2021 5:17:31 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
148761
Message:

Main: bugref:1909: Fixed compilation errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r92831 r92834  
    114114    uint32_t cFound = 0;
    115115#ifdef VBOX_WITH_VBOXMANAGE_NLS
    116     PHELP_LANG_ENTRY pHelpLangEntry[2] = {ASMAtomicReadPtrT(&g_pHelpLangEntry, PHELP_LANG_ENTRY), &g_apHelpLangEntries[0] };
     116    PHELP_LANG_ENTRY pHelpLangEntry[2] = {(PHELP_LANG_ENTRY)ASMAtomicReadPtrT(&g_pHelpLangEntry, PHELP_LANG_ENTRY),
     117                                          &g_apHelpLangEntries[0] };
    117118#else
    118119    PHELP_LANG_ENTRY pHelpLangEntry[1] = {(PHELP_LANG_ENTRY)g_pHelpLangEntry};
     
    176177    uint32_t cFound = 0;
    177178#ifdef VBOX_WITH_VBOXMANAGE_NLS
    178     PHELP_LANG_ENTRY pHelpLangEntry[2] = {ASMAtomicReadPtrT(&g_pHelpLangEntry, PHELP_LANG_ENTRY), &g_apHelpLangEntries[0] };
     179    PHELP_LANG_ENTRY pHelpLangEntry[2] = {(PHELP_LANG_ENTRY)ASMAtomicReadPtrT(&g_pHelpLangEntry, PHELP_LANG_ENTRY),
     180                                          &g_apHelpLangEntries[0] };
    179181#else
    180182    PHELP_LANG_ENTRY pHelpLangEntry[1] = {(PHELP_LANG_ENTRY)g_pHelpLangEntry};
     
    10361038        uint32_t cPendingBlankLines = 0;
    10371039#ifdef VBOX_WITH_VBOXMANAGE_NLS
    1038         PHELP_LANG_ENTRY pHelpLangEntry = ASMAtomicReadPtrT(&g_pHelpLangEntry, PHELP_LANG_ENTRY);
     1040        PHELP_LANG_ENTRY pHelpLangEntry = (PHELP_LANG_ENTRY)ASMAtomicReadPtrT(&g_pHelpLangEntry, PHELP_LANG_ENTRY);
    10391041#else
    10401042        PHELP_LANG_ENTRY pHelpLangEntry = (PHELP_LANG_ENTRY)g_pHelpLangEntry;
Note: See TracChangeset for help on using the changeset viewer.

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