VirtualBox

Changeset 108338 in vbox


Ignore:
Timestamp:
Feb 23, 2025 9:22:49 PM (3 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167692
Message:

libs/xpcom18a4: Some cleanups, enable strict compiler checks for XPComBldProg, bugref:10321 [build fix]

Location:
trunk/src/libs/xpcom18a4/xpcom/typelib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/typelib/xpidl/xpidl_typelib.c

    r108336 r108338  
    262262                if (!find_interfaces(pThis, pInput, &pIt->u.Method.LstParams))
    263263                    return false;
     264                break;
    264265            case kXpidlNdType_Parameter:
    265266                add_interface_maybe(pThis, pIt->u.Param.pNdTypeSpec);
  • trunk/src/libs/xpcom18a4/xpcom/typelib/xpidl/xpidl_util.c

    r108332 r108338  
    125125
    126126    count = sscanf(str, nsIDFmt2,
    127                    &n0, &n1, &n2,
    128                    &n3[0],&n3[1],&n3[2],&n3[3],
    129                    &n3[4],&n3[5],&n3[6],&n3[7]);
     127                   (uint32_t *)&n0, (uint32_t *)&n1, (uint32_t *)&n2,
     128                   (uint32_t *)&n3[0],(uint32_t *)&n3[1],(uint32_t *)&n3[2],(uint32_t *)&n3[3],
     129                   (uint32_t *)&n3[4],(uint32_t *)&n3[5],(uint32_t *)&n3[6],(uint32_t *)&n3[7]);
    130130
    131131    id->m0 = (PRInt32) n0;
  • trunk/src/libs/xpcom18a4/xpcom/typelib/xpt/public/xpt_xdr.h

    r16399 r108338  
    217217    if (!(mode == XPT_ENCODE || XPT_Do32(cursor, &new_curs.offset)) ||        \
    218218        !CheckForRepeat(cursor, (void **)addrp, pool,                         \
    219                         mode == XPT_ENCODE ? size : 0u, &new_curs,            \
     219                        mode == XPT_ENCODE ? size : 0, &new_curs,            \
    220220                        &already) ||                                          \
    221221        !(mode == XPT_DECODE || XPT_Do32(cursor, &new_curs.offset)))          \
  • trunk/src/libs/xpcom18a4/xpcom/typelib/xpt/tools/xpt_link.c

    r108336 r108338  
    500500            /* Fix parent_interface first.
    501501             */
    502             if (id->parent_interface && id->parent_interface != 0) {
     502            if (id->parent_interface) {
    503503                id->parent_interface =
    504504                    get_new_index(fix_array, totalNumberOfInterfaces,
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