diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-05-27 11:30:59 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-05-27 11:30:59 +0000 |
commit | 3bd347c543f3849bc5c70f7c07aa02bb204d3060 (patch) | |
tree | bc488dced2ee95b4311a8c9ee91d62ef36f14248 /Python/random.c | |
parent | 687b0bec83d503de3fb95e0515d0ba8519cf0d22 (diff) | |
parent | 3172ee03da2bfce19a60222fbff5aaf67680d9ea (diff) | |
download | cpython-3bd347c543f3849bc5c70f7c07aa02bb204d3060.tar.gz |
Issue #5784: Merge zlib from 3.5
Diffstat (limited to 'Python/random.c')
-rw-r--r-- | Python/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/random.c b/Python/random.c index 79157b8b6f..839d7ad991 100644 --- a/Python/random.c +++ b/Python/random.c @@ -386,7 +386,7 @@ _PyRandom_Init(void) char *env; unsigned char *secret = (unsigned char *)&_Py_HashSecret.uc; Py_ssize_t secret_size = sizeof(_Py_HashSecret_t); - assert(secret_size == sizeof(_Py_HashSecret.uc)); + Py_BUILD_ASSERT(sizeof(_Py_HashSecret_t) == sizeof(_Py_HashSecret.uc)); if (_Py_HashSecret_Initialized) return; |