mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
fix minor alignment warning
this is a prototype definition error: `_mm_storeu_si128()` should accept a `void*` pointer, since it explicitly states that it accepts unaligned addresses yet requiring a `__m128i*` tells otherwise, and requires the compiler the enforce this alignment.
This commit is contained in:
parent
32dff04d32
commit
c39424ea87
1 changed files with 1 additions and 1 deletions
|
|
@ -7218,7 +7218,7 @@ static size_t convertSequences_noRepcodes(
|
|||
*/
|
||||
|
||||
/* Store only the lower 16 bytes => 2 SeqDef (8 bytes each) */
|
||||
_mm_storeu_si128((__m128i *)&dstSeqs[i], _mm256_castsi256_si128(vperm));
|
||||
_mm_storeu_si128((__m128i *)(void*)&dstSeqs[i], _mm256_castsi256_si128(vperm));
|
||||
/*
|
||||
* This writes out 16 bytes total:
|
||||
* - offset 0..7 => seq0 (offBase, litLength, mlBase)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue