use <= instead of ==
This commit is contained in:
parent
928cc3a6de
commit
a71b5abfa4
@ -120,7 +120,7 @@ int RAND_load_file(const char *file, long bytes)
|
|||||||
if (bytes > 0)
|
if (bytes > 0)
|
||||||
{
|
{
|
||||||
bytes-=n;
|
bytes-=n;
|
||||||
if (bytes == 0) break;
|
if (bytes <= 0) break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fclose(in);
|
fclose(in);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user