X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fxpress_decompress.c;h=035bcfd03470c85ee511be2d1eecd4833fd04905;hb=HEAD;hp=16a577e8fde4d46016fccff80d29e2f98dd807dd;hpb=4ee103c6e2a2988e1fb358bfa2dc38dcb621505a;p=wimlib diff --git a/src/xpress_decompress.c b/src/xpress_decompress.c index 16a577e8..035bcfd0 100644 --- a/src/xpress_decompress.c +++ b/src/xpress_decompress.c @@ -19,7 +19,7 @@ * details. * * You should have received a copy of the GNU Lesser General Public License - * along with this file; if not, see http://www.gnu.org/licenses/. + * along with this file; if not, see https://www.gnu.org/licenses/. */ @@ -58,9 +58,9 @@ * fail during decompression if the Huffman symbol 256 is not found after * the actual data." * - * This is the case for the implementation in WIMGAPI. However, wimlib's - * decompressor in this file currently does not care if this extra symbol is - * there or not. + * This is the case with Microsoft's implementation in WIMGAPI, for example. So + * although our implementation doesn't currently check for this extra symbol, + * compressors would be wise to add it. */ #ifdef HAVE_CONFIG_H @@ -84,7 +84,7 @@ struct xpress_decompressor { }; DECODE_TABLE_WORKING_SPACE(working_space, XPRESS_NUM_SYMBOLS, XPRESS_MAX_CODEWORD_LEN); -} _aligned_attribute(DECODE_TABLE_ALIGNMENT); +} __attribute__((aligned(DECODE_TABLE_ALIGNMENT))); static int xpress_decompress(const void *restrict compressed_data, size_t compressed_size,