VirtualBox

Changeset 106523 in vbox


Ignore:
Timestamp:
Oct 20, 2024 2:33:50 AM (6 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165355
Message:

Devices/DrvHostBase-win.cpp: Some initializers requiring more {} wrappping to make VC 2022 happy. jiraref:VBP-1171

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvHostBase-win.cpp

    r106061 r106523  
    315315    {
    316316        /* use NT api, retry a few times if the media is being verified. */
    317         IO_STATUS_BLOCK             IoStatusBlock = {0};
    318         FILE_FS_SIZE_INFORMATION    FsSize = {{0}};
     317        IO_STATUS_BLOCK             IoStatusBlock = { {0}, 0 };
     318        FILE_FS_SIZE_INFORMATION    FsSize = { {{0,0}}, {{0,0}}, 0, 0 };
    319319        NTSTATUS rcNt = NtQueryVolumeInformationFile((HANDLE)RTFileToNative(pThis->Os.hFileDevice),  &IoStatusBlock,
    320320                                                     &FsSize, sizeof(FsSize), FileFsSizeInformation);
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