mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
fix: warning on mingw64. This offset is calculated, casting it to u32 should be fine.
This commit is contained in:
parent
fe35a972f5
commit
3bfd01bffb
1 changed files with 3 additions and 5 deletions
|
@ -204,12 +204,10 @@ int TinyCborPrintFIDOPackage(uint8_t cmdCode, bool isResponse, uint8_t *data, si
|
||||||
|
|
||||||
if (err) {
|
if (err) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
#if __WORDSIZE == 64
|
|
||||||
"CBOR parsing failure at offset %" PRId64 " : %s\n",
|
|
||||||
#else
|
|
||||||
"CBOR parsing failure at offset %" PRId32 " : %s\n",
|
"CBOR parsing failure at offset %" PRId32 " : %s\n",
|
||||||
#endif
|
(uint32_t)(cb.ptr - data),
|
||||||
cb.ptr - data, cbor_error_string(err));
|
cbor_error_string(err)
|
||||||
|
);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue