projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX: one of these days I will start being more observant about argument order
[proxmark3-svn]
/
client
/
cmdhf14a.c
diff --git
a/client/cmdhf14a.c
b/client/cmdhf14a.c
index 6d94d33b4fc714b4e7a540b4fcab2dbdd0941d6b..ea2224488f9b13e82a14343459da784cbe5a214e 100644
(file)
--- a/
client/cmdhf14a.c
+++ b/
client/cmdhf14a.c
@@
-735,7
+735,7
@@
int CmdHF14ACmdRaw(const char *cmd) {
// Max buffer is USB_CMD_DATA_SIZE
datalen = (datalen > USB_CMD_DATA_SIZE) ? USB_CMD_DATA_SIZE : datalen;
// Max buffer is USB_CMD_DATA_SIZE
datalen = (datalen > USB_CMD_DATA_SIZE) ? USB_CMD_DATA_SIZE : datalen;
- c.arg[1] = (datalen & 0xFFFF) | (numbits << 16);
+ c.arg[1] = (datalen & 0xFFFF) | (
uint32_t)(
numbits << 16);
memcpy(c.d.asBytes,data,datalen);
clearCommandBuffer();
memcpy(c.d.asBytes,data,datalen);
clearCommandBuffer();
Impressum
,
Datenschutz