From: iceman1001 Date: Wed, 3 Aug 2016 09:57:40 +0000 (+0200) Subject: fix: COVERITYSCAN 133871, fix one part, breaking another. shouldnt have changed... X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/c5d886170c256ea2296ef5ac85a5137ae072d67b fix: COVERITYSCAN 133871, fix one part, breaking another. shouldnt have changed to uint8_t since it can never be negative. --- 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();