]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlf.c
FIX: CoverityScan 133857, cast to uint32_t will stop eventual problems. However...
[proxmark3-svn] / client / cmdlf.c
index 399adb72feaaab626f54a630a63e9a1884c74004..7ca24a0adce116a65376cf2e3cdbf3487aec1de5 100644 (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;
Impressum, Datenschutz