From c5d886170c256ea2296ef5ac85a5137ae072d67b Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 3 Aug 2016 11:57:40 +0200 Subject: [PATCH] fix: COVERITYSCAN 133871, fix one part, breaking another. shouldnt have changed to uint8_t since it can never be negative. --- client/cmdlfjablotron.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdlfjablotron.c b/client/cmdlfjablotron.c index 4248920d..bd99fede 100644 --- a/client/cmdlfjablotron.c +++ b/client/cmdlfjablotron.c @@ -179,7 +179,7 @@ int CmdJablotronClone(const char *Cmd) { UsbCommand resp; UsbCommand c = {CMD_T55XX_WRITE_BLOCK, {0,0,0}}; - for (uint8_t i = 2; i >= 0; --i) { + for (int i = 2; i >= 0; --i) { c.arg[0] = blocks[i]; c.arg[1] = i; clearCommandBuffer(); -- 2.39.2