Browse code

Fix compile issue with the last commit.

Naram Qashat authored on 2014/09/08 16:57:24
Showing 1 changed files
... ...
@@ -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);