X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/979bba376dc9d6430b00b853a99b9dfadca4f38c..0d9a86c72441fd0510748bcd2d70ee1fb6f2ff57:/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);