summaryrefslogtreecommitdiffhomepage
path: root/Public
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-03-03 11:57:21 +0000
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-03-03 11:57:21 +0000
commit332fab8d57aac52b9664785cbda989260962a41c (patch)
tree861c303a27fb1d2d22be4b510aace0bdef96bfe8 /Public
parent374d341bf0216294b58f0198dbe4ba986464563f (diff)
parente93e0a0c548a407b7eadc8148687f626f2e26c42 (diff)
Merge branch 'unstable' into 'trunk'
Meta: update makefile, minor updates. See merge request mahrouss-logic/micro-kernel!7
Diffstat (limited to 'Public')
-rw-r--r--Public/Kits/SystemKit/XIFF.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Public/Kits/SystemKit/XIFF.hxx b/Public/Kits/SystemKit/XIFF.hxx
index acaf9103..29726a14 100644
--- a/Public/Kits/SystemKit/XIFF.hxx
+++ b/Public/Kits/SystemKit/XIFF.hxx
@@ -14,13 +14,16 @@
#include <SystemKit/CoreAPI.hxx>
+/// @brief four-character code for XIFF.
+#define kFourCCLength_XIFF 4
+
/***
* @brief Generic XIFF header
* Used by XIFF based containers.
*/
struct PACKED XiffHeader final {
- BYTE f_Mag[5]; // XIFF string (includes \0)
+ BYTE f_Mag[kFourCCLength_XIFF]; // XIFF string (includes \0)
DWORD f_Size; // overall size of header (XiffHeader) in bytes
DWORD f_FormatType; // format type. generic
BYTE f_SpecificMag[4]; // The sub header magic