VirtualBox

Changeset 63232 in vbox for trunk/include


Ignore:
Timestamp:
Aug 9, 2016 7:36:24 PM (8 years ago)
Author:
vboxsync
Message:

VBox/com/array.h: don't use -Wno-conversion, do an explicit cast instead

File:
1 edited

Legend:

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

    r62636 r63232  
    880880
    881881        /** @todo Fix this! */
    882         RT_GCC_NO_WARN_CONVERSION_BEGIN
    883         m.size = aNewSize;
    884         RT_GCC_NO_WARN_CONVERSION_END
     882        m.size = (PRUint32)aNewSize;
    885883#else
    886884        /* nothing to do here, SafeArrayCreate() has performed element
     
    11501148
    11511149                    /** @todo Fix this! */
    1152                     RT_GCC_NO_WARN_CONVERSION_BEGIN
    1153                     m.size = aNewSize;
    1154                     RT_GCC_NO_WARN_CONVERSION_END
     1150                    m.size = (PRUint32)aNewSize;
    11551151                }
    11561152
     
    11721168
    11731169                /** @todo Fix this! */
    1174                 RT_GCC_NO_WARN_CONVERSION_BEGIN
    1175                 m.size = aNewSize;
    1176                 RT_GCC_NO_WARN_CONVERSION_END
     1170                m.size = (PRUint32)aNewSize;
    11771171            }
    11781172        }
    11791173
    11801174        /** @todo Fix this! */
    1181         RT_GCC_NO_WARN_CONVERSION_BEGIN
    1182         m.capacity = newCapacity;
    1183         RT_GCC_NO_WARN_CONVERSION_END
     1175        m.capacity = (PRUint32)newCapacity;
    11841176
    11851177#else
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