VirtualBox

Changeset 33534 in vbox


Ignore:
Timestamp:
Oct 28, 2010 7:32:14 AM (14 years ago)
Author:
vboxsync
Message:

#pragma pack() not pragma pack(0)

Location:
trunk/src/VBox/Devices/Storage
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DMGHDDCore.cpp

    r33524 r33534  
    112112    uint32_t            au32Unknown[3];         /**< 0x1f4 - Unknown stuff, hdiutil doesn't dump it... */
    113113} DMGUDIF;
    114 #pragma pack(0)
     114#pragma pack()
    115115AssertCompileSize(DMGUDIF, 512);
    116116AssertCompileMemberOffset(DMGUDIF, cbRsrc,   0x030);
     
    169169    uint32_t            cBlocksRunCount;        /**< 0x    - Number of entries in the blkx run table afterwards. */
    170170} DMGBLKX;
    171 #pragma pack(0)
     171#pragma pack()
    172172AssertCompileSize(DMGBLKX, 204);
    173173
     
    198198    uint64_t            cbData;                 /**< 0x020 - Number of bytes in the image. */
    199199} DMGBLKXDESC;
    200 #pragma pack(0)
     200#pragma pack()
    201201AssertCompileSize(DMGBLKXDESC, 40);
    202202
  • trunk/src/VBox/Devices/Storage/VBoxHDDFormats/AppleDiskImage/VBoxDMG.cpp

    r28800 r33534  
    107107    uint32_t            au32Unknown[3];         /**< 0x1f4 - Unknown stuff, hdiutil doesn't dump it... */
    108108} VBOXUDIF;
    109 #pragma pack(0)
     109#pragma pack()
    110110AssertCompileSize(VBOXUDIF, 512);
    111111AssertCompileMemberOffset(VBOXUDIF, cbRsrc,   0x030);
  • trunk/src/VBox/Devices/Storage/VCICacheCore.cpp

    r33533 r33534  
    7878    uint8_t     abReserved[951];
    7979} VciHdr, *PVciHdr;
    80 #pragma pack(0)
     80#pragma pack()
    8181AssertCompileSize(VciHdr, 2 * VCI_BLOCK_SIZE);
    8282
     
    119119    uint64_t    u64BlockAddr;
    120120} VciCacheExtent, *PVciCacheExtent;
    121 #pragma pack(0)
     121#pragma pack()
    122122AssertCompileSize(VciCacheExtent, 38);
    123123
     
    137137    uint64_t    u64ChildAddr;
    138138} VciTreeNodeInternal, *PVciTreeNodeInternal;
    139 #pragma pack(0)
     139#pragma pack()
    140140AssertCompileSize(VciTreeNodeInternal, 20);
    141141
     
    153153    uint8_t     au8Data[4095];
    154154} VciTreeNode, *PVciTreeNode;
    155 #pragma pack(0)
     155#pragma pack()
    156156AssertCompileSize(VciTreeNode, 8 * VCI_BLOCK_SIZE);
    157157
     
    189189    uint8_t      au8Reserved[472];
    190190} VciBlkMap, *PVciBlkMap;
    191 #pragma pack(0)
     191#pragma pack()
    192192AssertCompileSize(VciBlkMap, VCI_BLOCK_SIZE);
    193193
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