VirtualBox

Changeset 92835 in vbox for trunk/src/VBox


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

Main: bugref:1909: Fixed compilation errors

Location:
trunk/src/VBox/Frontends/VBoxManage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/Makefile.kmk

    r92832 r92835  
    357357                '{' \
    358358                '    const char      *pszLang;' \
    359                 '        size_t           cbLang;' \
     359                '    size_t           cbLang;' \
    360360                '    PCRTMSGREFENTRY *papHelpEntries;' \
    361361                '    const uint32_t   cHelpEntries;' \
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r92834 r92835  
    114114    uint32_t cFound = 0;
    115115#ifdef VBOX_WITH_VBOXMANAGE_NLS
    116     PHELP_LANG_ENTRY pHelpLangEntry[2] = {(PHELP_LANG_ENTRY)ASMAtomicReadPtrT(&g_pHelpLangEntry, PHELP_LANG_ENTRY),
    117                                           &g_apHelpLangEntries[0] };
     116    HELP_LANG_ENTRY *pHelpLangEntry[2] = {(HELP_LANG_ENTRY *)ASMAtomicReadPtr(&g_pHelpLangEntry), &g_apHelpLangEntries[0] };
    118117#else
    119     PHELP_LANG_ENTRY pHelpLangEntry[1] = {(PHELP_LANG_ENTRY)g_pHelpLangEntry};
     118    HELP_LANG_ENTRY *pHelpLangEntry[1] = {(HELP_LANG_ENTRY *)g_pHelpLangEntry};
    120119#endif
    121120    /* Try to find translated, then untranslated */
     
    177176    uint32_t cFound = 0;
    178177#ifdef VBOX_WITH_VBOXMANAGE_NLS
    179     PHELP_LANG_ENTRY pHelpLangEntry[2] = {(PHELP_LANG_ENTRY)ASMAtomicReadPtrT(&g_pHelpLangEntry, PHELP_LANG_ENTRY),
    180                                           &g_apHelpLangEntries[0] };
     178    HELP_LANG_ENTRY *pHelpLangEntry[2] = {(HELP_LANG_ENTRY *)ASMAtomicReadPtr(&g_pHelpLangEntry), &g_apHelpLangEntries[0] };
    181179#else
    182     PHELP_LANG_ENTRY pHelpLangEntry[1] = {(PHELP_LANG_ENTRY)g_pHelpLangEntry};
     180    HELP_LANG_ENTRY *pHelpLangEntry[1] = {(HELP_LANG_ENTRY *)g_pHelpLangEntry};
    183181#endif
    184182    /* Try to find translated, then untranslated */
     
    10381036        uint32_t cPendingBlankLines = 0;
    10391037#ifdef VBOX_WITH_VBOXMANAGE_NLS
    1040         PHELP_LANG_ENTRY pHelpLangEntry = (PHELP_LANG_ENTRY)ASMAtomicReadPtrT(&g_pHelpLangEntry, PHELP_LANG_ENTRY);
     1038        HELP_LANG_ENTRY *pHelpLangEntry = (HELP_LANG_ENTRY *)ASMAtomicReadPtr(&g_pHelpLangEntry);
    10411039#else
    1042         PHELP_LANG_ENTRY pHelpLangEntry = (PHELP_LANG_ENTRY)g_pHelpLangEntry;
     1040        HELP_LANG_ENTRY *pHelpLangEntry = (HELP_LANG_ENTRY *)g_pHelpLangEntry;
    10431041#endif
    10441042        for (uint32_t i = 0; i < pHelpLangEntry->cHelpEntries; i++)
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