We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ac176b commit 3de8dabCopy full SHA for 3de8dab
src/sample.cpp
@@ -309,7 +309,7 @@ sample &sample::assign_test_pattern(int offset) {
309
break;
310
case cft_string: {
311
std::string *data = (std::string *)&data_;
312
- for (uint32_t k = 0u; k < num_channels_; k++)
+ for (int32_t k = 0u; k < (int) num_channels_; k++)
313
data[k] = to_string((k + 10) * (k % 2 == 0 ? 1 : -1));
314
315
}
0 commit comments