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.

This commit is contained in:
iceman1001 2016-08-03 00:15:26 +02:00
parent 34c81fe01c
commit fd9212e183

View file

@ -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;