Skip to content

Commit

Permalink
fix compilation on intel
Browse files Browse the repository at this point in the history
  • Loading branch information
dernasherbrezon committed Jan 27, 2025
1 parent 2cd91e1 commit 6bf1602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xlating.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ static void process_optimized_cf32(size_t input_complex_len, float complex **out
for (; current_index < max_index; current_index += filter->decimation, produced++) {
const float complex *buf = (const float complex *)(filter->working_buffer_cf32 + current_index);

const float complex *aligned_buffer = (const float complex *)((size_t)buf & ~(filter->alignment - 1));
const float complex *aligned_buffer = (const float complex *)((size_t)buf & ~(filter->alignment_cf32 - 1));
unsigned align_index = buf - aligned_buffer;

float *pSrcA = (float *)aligned_buffer;
Expand Down

0 comments on commit 6bf1602

Please sign in to comment.