summaryrefslogtreecommitdiff
path: root/src/pinkwave.cpp
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-11 11:23:33 +0000
committerCarl Hetherington <cth@carlh.net>2019-12-03 16:44:25 +0100
commitd3e793c2fe149fc5dd99afcc8e97fba0302a8b99 (patch)
tree516ceddcd84bbf9ce349c5cdc8c58bf5d0e1e9af /src/pinkwave.cpp
parent3ac58e7f18a14d9950fcc9fe5c19a3ddc8aed571 (diff)
Fix some comparisons of signed with unsigned.
Diffstat (limited to 'src/pinkwave.cpp')
-rw-r--r--src/pinkwave.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pinkwave.cpp b/src/pinkwave.cpp
index 85e59ba..a03bf58 100644
--- a/src/pinkwave.cpp
+++ b/src/pinkwave.cpp
@@ -209,7 +209,7 @@ make_pink_wav_file(CommandOptions& Options)
// fill the frame buffer with a frame of pink noise
byte_t *p = FrameBuffer.Data();
- for ( int i = 0; i < samples_per_frame; ++i )
+ for ( ui32_t i = 0; i < samples_per_frame; ++i )
{
float pink_sample = pink_filter.GetNextSample(lcg.GetNextSample());
ScalePackSample(pink_sample, p, ADesc.BlockAlign);