[boot] Fix compile warning about struct init

The buffer structure was getting initialized with out of order members.
This commit is contained in:
Justin C. Miller
2020-11-10 01:29:38 -08:00
parent 2e3d7b1656
commit 47fab631d0

View File

@@ -77,7 +77,7 @@ file::load(uefi::memory_type mem_type)
m_file->read(&size, data),
L"Could not read from file");
return { .data = data, .size = size };
return { .size = size, .data = data };
}
file