From adc11fcc1fd928b6779ca81846fab928e17f9c26 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 20 Jul 2022 17:03:15 -0400 Subject: [PATCH] refactoring: reducing warnings --- firmware/console/binary/tunerstudio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index de1c246efe..77421547a7 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -404,7 +404,7 @@ static int tsProcessOne(TsChannelBase* tsChannel) { tsState.totalCounter++; uint8_t firstByte; - int received = tsChannel->readTimeout(&firstByte, 1, TS_COMMUNICATION_TIMEOUT); + size_t received = tsChannel->readTimeout(&firstByte, 1, TS_COMMUNICATION_TIMEOUT); #if EFI_SIMULATOR logMsg("received %d\r\n", received); #endif