mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[rtttl] Fix clang-tidy sign comparison error (#11065)
This commit is contained in:
		| @@ -215,7 +215,7 @@ void Rtttl::loop() { | ||||
|           sample[x].right = 0; | ||||
|         } | ||||
|  | ||||
|         if (x >= SAMPLE_BUFFER_SIZE || this->samples_sent_ >= this->samples_count_) { | ||||
|         if (static_cast<size_t>(x) >= SAMPLE_BUFFER_SIZE || this->samples_sent_ >= this->samples_count_) { | ||||
|           break; | ||||
|         } | ||||
|         this->samples_sent_++; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user