X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/979bba376dc9d6430b00b853a99b9dfadca4f38c..d5875804a3555b9d6305a4c9dcdbfeac380d9f00:/client/cmddata.c diff --git a/client/cmddata.c b/client/cmddata.c index e23b6d59..76552351 100644 --- a/client/cmddata.c +++ b/client/cmddata.c @@ -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);