script: Fix upper bounds
^ is the XOR operator.
This commit is contained in:
@@ -56,7 +56,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
rounds = atoi(argv[3]);
|
||||
if (rounds < 0 || rounds > (2^26))
|
||||
if (rounds < 0 || rounds > (1 << 26))
|
||||
{ /* arbitrary limit to the number of chunk_t/sigs that fit into 1 GiB */
|
||||
usage();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user