VirtualBox

Ignore:
Timestamp:
Nov 15, 2013 10:11:42 AM (11 years ago)
Author:
vboxsync
Message:

libs/xpcom: fixed a bunch of pointer size vs. integer size warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/io/nsFastLoadService.cpp

    r21113 r49491  
    398398    mChecksumTable.Put(&key, NS_INT32_TO_PTR(checksum));
    399399#else /* VBOX */
    400     mChecksumTable.Put(&key, (void *)checksum);
     400    mChecksumTable.Put(&key, (void *)(uintptr_t)checksum);
    401401#endif /* VBOX */
    402402    *aChecksum = checksum;
     
    425425    mChecksumTable.Put(&key, NS_INT32_TO_PTR(checksum));
    426426#else /* VBOX */
    427     mChecksumTable.Put(&key, (void *)checksum);
     427    mChecksumTable.Put(&key, (void *)(uintptr_t)checksum);
    428428#endif /* VBOX */
    429429    return NS_OK;
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