VirtualBox

Changeset 7071 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 21, 2008 1:48:04 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28311
Message:

Got rid of annoying warnings during win64 build

File:
1 edited

Legend:

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

    r6921 r7071  
    508508#else
    509509
    510         SAFEARRAYBOUND bound = { aNewSize, 0 };
     510        SAFEARRAYBOUND bound = { (ULONG)aNewSize, 0 };
    511511        m.arr = SafeArrayCreate (VarType(), 1, &bound);
    512512        AssertReturn (m.arr != NULL, false);
     
    10011001#else
    10021002
    1003         SAFEARRAYBOUND bound = { aNewSize, 0 };
     1003        SAFEARRAYBOUND bound = { (ULONG)aNewSize, 0 };
    10041004        m.arr = SafeArrayCreateEx (VT_UNKNOWN, 1, &bound,
    10051005                                   (PVOID) &_ATL_IIDOF (I));
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette