From: iceman1001 Date: Tue, 2 Aug 2016 22:15:26 +0000 (+0200) Subject: FIX: CoverityScan 133857, cast to uint32_t will stop eventual problems. However... X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/fd9212e183dd20a1693f1e722a49e91d95f912a5?ds=inline FIX: CoverityScan 133857, cast to uint32_t will stop eventual problems. However its a uint_16 so it shouldnt be a problem to start with. --- diff --git a/client/cmdlf.c b/client/cmdlf.c index 399adb72..7ca24a0a 100644 --- a/client/cmdlf.c +++ b/client/cmdlf.c @@ -171,7 +171,7 @@ int CmdLFCommandRead(const char *Cmd) { if (errors) return usage_lf_cmdread(); // zero and one lengths - c.arg[1] = zero << 16 | one; + c.arg[1] = (uint32_t)(zero << 16 | one); // add frequency 125 or 134 c.arg[2] = useHighFreq;