mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
fix one minor alignment warning
seems like a prototype interface error: input parameter should have been `const void*`, since the documentation is explicit that input doesn't have to be aligned, but `const __m256i*` makes the compiler enforce it.
This commit is contained in:
parent
5883ee6cc2
commit
32dff04d32
1 changed files with 1 additions and 1 deletions
|
|
@ -7191,7 +7191,7 @@ static size_t convertSequences_noRepcodes(
|
|||
/* Process 2 sequences per loop iteration */
|
||||
for (; i + 1 < nbSequences; i += 2) {
|
||||
/* Load 2 ZSTD_Sequence (32 bytes) */
|
||||
__m256i vin = _mm256_loadu_si256((__m256i const*)&inSeqs[i]);
|
||||
__m256i vin = _mm256_loadu_si256((const __m256i*)(const void*)&inSeqs[i]);
|
||||
|
||||
/* Add {2, 0, -3, 0} in each 128-bit half */
|
||||
__m256i vadd = _mm256_add_epi32(vin, addition);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue