summaryrefslogtreecommitdiff
path: root/Python/random.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-28 14:48:19 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-28 14:48:19 +0300
commitf5a86603829104d675112c1aa35f4a7bdd32110e (patch)
treef3427e72d0382510cc719e3817782ae290ab91ad /Python/random.c
parent95de54494fb75a30f417c5bba1d0db4d54f57d29 (diff)
parentc7aaeb9022c01fbc190a6c6eb9df9cf7b0c14347 (diff)
downloadcpython-f5a86603829104d675112c1aa35f4a7bdd32110e.tar.gz
Issue #27138: Regenerate Python/importlib_external.h.
Diffstat (limited to 'Python/random.c')
-rw-r--r--Python/random.c2
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;