mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Remove compilation warning, even if it was not real issue
cmdhflegic.c:269:13: warning: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation]
This commit is contained in:
parent
cbf81cf5c3
commit
8c74b2f9da
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ int CmdLegicInfo(const char *Cmd) {
|
||||||
int crc = 0, wrp = 0, wrc = 0;
|
int crc = 0, wrp = 0, wrc = 0;
|
||||||
uint8_t stamp_len = 0;
|
uint8_t stamp_len = 0;
|
||||||
uint16_t datalen = 0;
|
uint16_t datalen = 0;
|
||||||
char token_type[5] = {0, 0, 0, 0, 0};
|
char token_type[6] = {0, 0, 0, 0, 0, 0};
|
||||||
int dcf = 0;
|
int dcf = 0;
|
||||||
int bIsSegmented = 0;
|
int bIsSegmented = 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue