diff options
Diffstat (limited to 'source/device.cpp')
-rw-r--r-- | source/device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/device.cpp b/source/device.cpp index 333fd81..6f052d7 100644 --- a/source/device.cpp +++ b/source/device.cpp @@ -519,7 +519,7 @@ void deviceRenderToolbar() ImGui::SameLine(); ImGui::SetNextItemWidth(100); if (ImGui::BeginCombo("", sampleRatePreview)) { - for (int i = 0; i < sampleRateList.size(); ++i) { + for (unsigned int i = 0; i < sampleRateList.size(); ++i) { if (ImGui::Selectable(sampleRateList[i])) { sampleRatePreview = sampleRateList[i]; if (m_device != nullptr && !m_device->is_running()) { |