VirtualBox

Changeset 104010 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Mar 23, 2024 1:24:05 AM (12 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162398
Message:

*: Fixed various calloc argument order warnings from gcc 14.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/asn1/oiddb2c.cpp

    r98103 r104010  
    247247    if (!g_pOidRoot)
    248248    {
    249         g_pOidRoot = (PRAWOIDNODE)calloc(sizeof(*g_pOidRoot), 1);
     249        g_pOidRoot = (PRAWOIDNODE)calloc(1, sizeof(*g_pOidRoot));
    250250        if (!g_pOidRoot)
    251251            return error("Out of memory!\n");
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