| ... | ... |
@@ -264,7 +264,7 @@ void Blip_Synth_::treble_eq(const blip_eq_t &eq) |
| 264 | 264 |
fimpulse[blip_res + half_size + i] = fimpulse[blip_res + half_size - 1 - i]; |
| 265 | 265 |
|
| 266 | 266 |
// starts at 0 |
| 267 |
- std::fill_n(&fimpulse[0], blip_res, 0.0f); |
|
| 267 |
+ std::fill_n(&fimpulse[0], static_cast<unsigned>(blip_res), 0.0f); |
|
| 268 | 268 |
|
| 269 | 269 |
// find rescale factor |
| 270 | 270 |
double total = std::accumulate(&fimpulse[blip_res], &fimpulse[blip_res + half_size], 0.0); |