mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
[boot] Fix compile warning about struct init
The buffer structure was getting initialized with out of order members.
This commit is contained in:
@@ -77,7 +77,7 @@ file::load(uefi::memory_type mem_type)
|
|||||||
m_file->read(&size, data),
|
m_file->read(&size, data),
|
||||||
L"Could not read from file");
|
L"Could not read from file");
|
||||||
|
|
||||||
return { .data = data, .size = size };
|
return { .size = size, .data = data };
|
||||||
}
|
}
|
||||||
|
|
||||||
file
|
file
|
||||||
|
|||||||
Reference in New Issue
Block a user