mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
thinfilm: fix urls with 0xFE terminator
This commit is contained in:
parent
118c8478f0
commit
8f6c048481
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ static int print_barcode(uint8_t *barcode, const size_t barcode_len) {
|
|||
for (uint8_t i = 0; i < strlen(s); i++) {
|
||||
|
||||
// terminate string
|
||||
if (s[i] == 0xFE) {
|
||||
if ((uint8_t) s[i] == 0xFE) {
|
||||
s[i] = 0;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue