Commit c72828ba authored by Victor Stinner's avatar Victor Stinner

cleanup random.c

Casting Py_ssize_t to Py_ssize_t is useless.
parent b98a36e8
......@@ -251,7 +251,7 @@ dev_urandom_noraise(unsigned char *buffer, Py_ssize_t size)
break;
}
buffer += n;
size -= (Py_ssize_t)n;
size -= n;
}
close(fd);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment