From 57ddfcd645c04897c7fced005f77030146531733 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 6 Jan 2018 23:16:01 -0500 Subject: [PATCH] Corrects AY counter type. --- Components/AY38910/AY38910.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Components/AY38910/AY38910.cpp b/Components/AY38910/AY38910.cpp index e9f4e46df..205fd39e0 100644 --- a/Components/AY38910/AY38910.cpp +++ b/Components/AY38910/AY38910.cpp @@ -66,7 +66,7 @@ AY38910::AY38910(Concurrency::DeferringAsyncTaskQueue &task_queue) : task_queue_ } void AY38910::get_samples(std::size_t number_of_samples, int16_t *target) { - unsigned int c = 0; + std::size_t c = 0; while((master_divider_&7) && c < number_of_samples) { target[c] = output_volume_; master_divider_++;