VirtualBox

Changeset 2059

Show
Ignore:
Timestamp:
04/12/07 21:19:13 (2 years ago)
Author:
vboxsync
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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) 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy