mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
FIX: some compiler warnings, sscanf is using unsigned int.
This commit is contained in:
parent
2c601080c3
commit
2839f12e86
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue