Pouze odstraneni varovani prekladace

This commit is contained in:
Pavel Brychta 2018-06-06 11:42:04 +02:00
parent fdd47f745e
commit 82ef0d54dd

View File

@ -48,7 +48,7 @@ static TraceLine &trace_line(uint16_t index)
static void print(uint8_t severity, const char *buffer, int length)
{
char lin[MAX_LINE_LEN + 1];
int lineptr = 0;
unsigned int lineptr = 0;
while ((0 != *buffer) && (lineptr < (sizeof(lin) - 1)))
{