From 7cf955b90bdd1df896b5d28e82869e99d2c07a69 Mon Sep 17 00:00:00 2001 From: aarons3 <94764002+aarons3@users.noreply.github.com> Date: Tue, 2 Jan 2024 11:26:26 -0600 Subject: [PATCH] Update lzss.c remove C++ style comment to avoid compiler errors --- lib/lzss/lzss.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/lzss/lzss.c b/lib/lzss/lzss.c index 6d11b9c..9cafaab 100644 --- a/lib/lzss/lzss.c +++ b/lib/lzss/lzss.c @@ -479,7 +479,10 @@ void EncodeLZSS(FILE *inFile, FILE *outFile, int dontPad, int exactPad) compressedSize++; } } - // We exhausted our input data, and might still have leftover bytes to fill, we need to write out padding blocks that resolve to a no-op. + /* + We exhausted our input data, and might still have leftover bytes to fill + we need to write out padding blocks that resolve to a no-op. + */ if (exactPad) { int remainder = 16 - (compressedSize % 16); int padding_lengths[17] = {0x0, 0x1, 0x12, 0x3, 0x14, 0x5, 0x16, 0x7, 0x18, 0x9, 0x1A, 0xB, 0x1C, 0xD, 0x1E, 0xF, 0x0};