VirtualBox

Changeset 2059 in vbox for trunk


Ignore:
Timestamp:
Apr 12, 2007 7:19:13 PM (18 years ago)
Author:
vboxsync
Message:

unbusted 64-bit builds (TODO: why the heck didn't this trigger build breaks with GCC?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/string.h

    r2015 r2059  
    109109        if (aSize)
    110110        {
    111             AssertCompile (sizeof (unsigned int) >= sizeof (aSize));
    112             unsigned int size = (unsigned int) aSize;
     111            unsigned int size = (unsigned int) aSize; Assert (size == aSize);
    113112            bstr = ::SysAllocStringLen (NULL, size - 1);
    114113            if (bstr)
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