mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 14:13:42 -07:00
fixed %zd for size_t
This commit is contained in:
parent
51b28bc954
commit
add83dc908
1 changed files with 1 additions and 1 deletions
|
@ -541,7 +541,7 @@ int param_getstr(const char *line, int paramnum, char * str, size_t buffersize)
|
||||||
|
|
||||||
// Prevent out of bounds errors
|
// Prevent out of bounds errors
|
||||||
if (en - bg + 1 >= buffersize) {
|
if (en - bg + 1 >= buffersize) {
|
||||||
printf("out of bounds error: want %d bytes have %d bytes\n", en - bg + 1 + 1, buffersize);
|
printf("out of bounds error: want %d bytes have %zd bytes\n", en - bg + 1 + 1, buffersize);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue