projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c60108
)
FIX: some compiler warnings, sscanf is using unsigned int.
author
iceman1001
<iceman@iuse.se>
Mon, 13 Feb 2017 10:01:32 +0000
(11:01 +0100)
committer
iceman1001
<iceman@iuse.se>
Mon, 13 Feb 2017 10:01:32 +0000
(11:01 +0100)
client/util.c
patch
|
blob
|
blame
|
history
diff --git
a/client/util.c
b/client/util.c
index a3590a397f1f3f7eac8065e7f9f7519af5b05333..fdbd2648c14fb8020762121fbc3d56a093750fd7 100644
(file)
--- a/
client/util.c
+++ b/
client/util.c
@@
-376,7
+376,8
@@
uint64_t param_get64ex(const char *line, int paramnum, int deflt, int base)
int param_gethex(const char *line, int paramnum, uint8_t * data, int hexcnt)
{
- int bg, en, temp, i;
+ int bg, en, i;
+ uint32_t temp;
if (hexcnt & 1) return 1;
@@
-395,7
+396,8
@@
int param_gethex(const char *line, int paramnum, uint8_t * data, int hexcnt)
}
int param_gethex_ex(const char *line, int paramnum, uint8_t * data, int *hexcnt)
{
- int bg, en, temp, i;
+ int bg, en, i;
+ uint32_t temp;
//if (hexcnt % 2)
// return 1;
Impressum
,
Datenschutz