]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmddata.c
Fix issue #103 (hopefully). Quite an old bug which was previously
[proxmark3-svn] / client / cmddata.c
index e23b6d5979b1759aa7608e73684440f73a8032ec..76552351846713d433309c0ba9ce2c0de31617dc 100644 (file)
@@ -118,7 +118,7 @@ int CmdPrintDemodBuff(const char *Cmd)
        int numBits = (DemodBufferLen-offset) & 0x7FC; //make sure we don't exceed our string
 
        if (hexMode){
-               char *buf = DemodBuffer + offset;
+               char *buf = (char *) (DemodBuffer + offset);
                numBits = binarraytohex(hex, buf, numBits);
                if (numBits==0) return 0;
                PrintAndLog("DemodBuffer: %s",hex);             
Impressum, Datenschutz