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:
@@ -171,7 +171,7 @@ int CmdLFCommandRead(const char *Cmd) {
|
|||||||
if (errors) return usage_lf_cmdread();
|
if (errors) return usage_lf_cmdread();
|
||||||
|
|
||||||
// zero and one lengths
|
// zero and one lengths
|
||||||
c.arg[1] = zero << 16 | one;
|
c.arg[1] = (uint32_t)(zero << 16 | one);
|
||||||
|
|
||||||
// add frequency 125 or 134
|
// add frequency 125 or 134
|
||||||
c.arg[2] = useHighFreq;
|
c.arg[2] = useHighFreq;
|
||||||
|
|||||||
Reference in New Issue
Block a user