VirtualBox

Ignore:
Timestamp:
Jul 1, 2009 11:48:47 AM (16 years ago)
Author:
vboxsync
Message:

xpcom: first go at making xpcom bitness-safe

File:
1 edited

Legend:

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

    r1 r21113  
    395395        return rv;
    396396
     397#ifndef VBOX
    397398    mChecksumTable.Put(&key, NS_INT32_TO_PTR(checksum));
     399#else /* VBOX */
     400    mChecksumTable.Put(&key, (void *)checksum);
     401#endif /* VBOX */
    398402    *aChecksum = checksum;
    399403    return NS_OK;
     
    418422
    419423    nsCStringKey key(path);
     424#ifndef VBOX
    420425    mChecksumTable.Put(&key, NS_INT32_TO_PTR(checksum));
     426#else /* VBOX */
     427    mChecksumTable.Put(&key, (void *)checksum);
     428#endif /* VBOX */
    421429    return NS_OK;
    422430}
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