VirtualBox

Ignore:
Timestamp:
Apr 17, 2020 12:42:46 PM (5 years ago)
Author:
vboxsync
Message:

IPRT: Sort IPRT status messages so we can look them up using binary searching. [build fix] bugref:8489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/err/errmsg-sorter.cpp

    r83745 r83749  
    192192                    continue;
    193193                PCRTSTATUSMSG pPrev = &g_aStatusMsgs[i - 1];
    194                 fprintf(stderr, "%s: warning: Duplicate value %#lx (%ld) - %s and %s\n",
    195                         argv[0], (unsigned long)iPrev, iPrev, pMsg->pszDefine, pPrev->pszDefine);
     194                fprintf(stderr, "%s: warning: Duplicate value %d - %s and %s\n",
     195                        argv[0], iPrev, pMsg->pszDefine, pPrev->pszDefine);
    196196            }
    197197            else if (i + 1 < RT_ELEMENTS(g_aStatusMsgs))
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