VirtualBox

Changeset 37935 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jul 13, 2011 11:12:42 PM (14 years ago)
Author:
vboxsync
Message:

Alignment fixes for 32-bit build employing the electric fence.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r37746 r37935  
    580580    int fNATfailed = 0;
    581581    int rc;
    582     PNATState pData = RTMemAllocZ(sizeof(NATState));
     582    PNATState pData = RTMemAllocZ(RT_ALIGN_Z(sizeof(NATState), sizeof(uint64_t)));
    583583    *ppData = pData;
    584584    if (!pData)
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