VirtualBox

Changeset 688 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 6, 2007 5:11:57 AM (18 years ago)
Author:
vboxsync
Message:

size_t

File:
1 edited

Legend:

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

    r1 r688  
    7777        if (aSize)
    7878        {
    79             bstr = ::SysAllocStringLen (NULL, aSize - 1);
     79            UINT size = (UINT)aSize; Assert(size == aSize);
     80            bstr = ::SysAllocStringLen (NULL, size - 1);
    8081            if (bstr)
    8182                bstr [0] = 0;
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