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