projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2e0ac5
)
Fix Gcc 8 warnings (#632)
author
Fl0-0
<Fl0-0@users.noreply.github.com>
Thu, 26 Jul 2018 15:17:11 +0000
(17:17 +0200)
committer
pwpiwi
<pwpiwi@users.noreply.github.com>
Thu, 26 Jul 2018 15:17:11 +0000
(17:17 +0200)
client/util.c
patch
|
blob
|
blame
|
history
diff --git
a/client/util.c
b/client/util.c
index 4f84e3b5eed7b391ae31930fe35cd25f4893dbcd..2be1e46b6fa4a03bc3c1bb170e1e7e579f349bc7 100644
(file)
--- a/
client/util.c
+++ b/
client/util.c
@@
-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, "%
.765
s| ", sprint_hex(data, max_len) );
size_t i = 0;
size_t pos = (max_len * 3)+2;
Impressum
,
Datenschutz