From 2a51866f3f39d4ebf0fd2d132cfad1e2962d1236 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Tue, 8 Oct 2024 19:17:37 +0200 Subject: IMP: A New set of features and APIs in zka-sci-cxx.dll - IStr object for a class like string object. - New SCI APIs, Disk management. Loader, I/O and new Mm functions. - Fixed and improved XPCOMReleaseClass. - Using IStr when dealing with XPCOM events. Signed-off-by: Amlal EL Mahrouss --- dev/zka/src/Network/IPC.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/zka/src/Network') diff --git a/dev/zka/src/Network/IPC.cxx b/dev/zka/src/Network/IPC.cxx index 42b0fcb9..f533b58e 100644 --- a/dev/zka/src/Network/IPC.cxx +++ b/dev/zka/src/Network/IPC.cxx @@ -14,7 +14,7 @@ using namespace Kernel; /// @brief The internal sanitize function. Bool ipc_int_sanitize_packet(IPC_MESSAGE_STRUCT* pckt) { - auto endian = DEDUCE_ENDIAN(pckt, ((Char*)pckt)[0]); + auto endian = cDeduceEndian(pckt, ((Char*)pckt)[0]); switch (endian) { @@ -92,7 +92,7 @@ namespace Kernel if (*pckt_in) { - auto endian = DEDUCE_ENDIAN((*pckt_in), ((Char*)(*pckt_in))[0]); + auto endian = cDeduceEndian((*pckt_in), ((Char*)(*pckt_in))[0]); (*pckt_in)->IpcHeaderMagic = cXPCOMHeaderMagic; -- cgit v1.2.3