summaryrefslogtreecommitdiffhomepage
path: root/src/boot/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/modules')
-rw-r--r--src/boot/modules/BootNet/BootNet.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/modules/BootNet/BootNet.cc b/src/boot/modules/BootNet/BootNet.cc
index ced25d74..34b8282b 100644
--- a/src/boot/modules/BootNet/BootNet.cc
+++ b/src/boot/modules/BootNet/BootNet.cc
@@ -87,8 +87,8 @@ STATIC Void bootnet_read_ip_packet(BOOTNET_INTERNET_HEADER inet,
auto len = inet.Length;
/// And receive the handshake packet.
- if (kEfiProtocol->Receive(kEfiProtocol, &size_inet, (UInt32*)&len, (VoidPtr) &inet, nullptr, nullptr,
- nullptr) == kEfiOk) {
+ if (kEfiProtocol->Receive(kEfiProtocol, &size_inet, (UInt32*) &len, (VoidPtr) &inet, nullptr,
+ nullptr, nullptr) == kEfiOk) {
BOOTNET_INTERNET_HEADER* out = nullptr;
BS->AllocatePool(EfiLoaderData, sizeof(BOOTNET_INTERNET_HEADER) + inet.Length, (VoidPtr*) &out);