mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-02 21:54:10 +08:00
Remove type-limits warning
This commit is contained in:
parent
5c09e33de6
commit
dc8178d43e
1 changed files with 2 additions and 1 deletions
|
@ -1230,7 +1230,8 @@ static void check_for_BitFlipProperties(bool time_budget) {
|
|||
args[i][1] = MIN(args[i][0] + bytes_per_thread - 1, 255);
|
||||
args[i][2] = time_budget;
|
||||
}
|
||||
args[NUM_CHECK_BITFLIPS_THREADS - 1][1] = MAX(args[NUM_CHECK_BITFLIPS_THREADS - 1][1], 255);
|
||||
// args[][] is uint8_t so max 255, no need to check it
|
||||
// args[NUM_CHECK_BITFLIPS_THREADS - 1][1] = MAX(args[NUM_CHECK_BITFLIPS_THREADS - 1][1], 255);
|
||||
|
||||
// start threads
|
||||
for (uint8_t i = 0; i < NUM_CHECK_BITFLIPS_THREADS; i++) {
|
||||
|
|
Loading…
Reference in a new issue