X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/5b37e87a24f01af65c2d414a9393e8846a4beafe..185e038c7de4468e098dadf6303f72efccecaa10:/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);