mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-07 05:31:17 -07:00
Fix Gcc 8 warnings (#632)
This commit is contained in:
parent
b2e0ac5d3b
commit
00349d8204
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ char *sprint_hex_ascii(const uint8_t *data, const size_t len) {
|
|||
memset(buf, 0x00, 1024);
|
||||
size_t max_len = (len > 255) ? 255 : len;
|
||||
// max 255 bytes * 3 + 2 characters = 767 in buffer
|
||||
sprintf(tmp, "%s| ", sprint_hex(data, max_len) );
|
||||
sprintf(tmp, "%.765s| ", sprint_hex(data, max_len) );
|
||||
|
||||
size_t i = 0;
|
||||
size_t pos = (max_len * 3)+2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue