From 82ef0d54dd4ff45424078521915443cb56c15575 Mon Sep 17 00:00:00 2001 From: Pablo2048 Date: Wed, 6 Jun 2018 11:42:04 +0200 Subject: [PATCH] Pouze odstraneni varovani prekladace --- src/trace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trace.cpp b/src/trace.cpp index 25912e3..4ef1919 100644 --- a/src/trace.cpp +++ b/src/trace.cpp @@ -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))) {