aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLadislav Zezula <ladislav.zezula@avast.com>2023-02-02 09:03:11 +0100
committerLadislav Zezula <ladislav.zezula@avast.com>2023-02-02 09:03:11 +0100
commit4fb49e6aa0a017768c58a2261a8da8dd59639557 (patch)
tree89639ca75902f1f579782340b6ae3c1f248da242
parentd0bbc57516e04d68456f3766844f8cef23127d05 (diff)
Linux build errors
-rw-r--r--test/StormTest.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/StormTest.cpp b/test/StormTest.cpp
index 6ff91c3..e8a52dc 100644
--- a/test/StormTest.cpp
+++ b/test/StormTest.cpp
@@ -36,6 +36,8 @@
//------------------------------------------------------------------------------
// Local structures
+#define ID_XHSC 0x58485343 // 'XHSC'
+
// Artificial error code for situations where we don't know the result
#define ERROR_UNDETERMINED_RESULT 0xC000FFFF
@@ -230,8 +232,8 @@ static const wchar_t szUnicodeName6[] = { // Arabic
static SFILE_MARKERS MpqMarkers[] =
{
- {sizeof(SFILE_MARKERS), ID_MPQ, "(hash table)", "(block table)"},
- {sizeof(SFILE_MARKERS), 'XHSC', "(cash table)", "(clock table)"}
+ {sizeof(SFILE_MARKERS), ID_MPQ, "(hash table)", "(block table)"},
+ {sizeof(SFILE_MARKERS), ID_XHSC, "(cash table)", "(clock table)"}
};
//-----------------------------------------------------------------------------