diff options
| author | Benjamin Peterson <benjamin@python.org> | 2016-05-26 22:56:51 -0700 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2016-05-26 22:56:51 -0700 |
| commit | f701975a05ebda1c87ee2d078d2917676dc0de8b (patch) | |
| tree | 862aecee76f5699e7d5b47b02389c3d9824b1f91 /Python/random.c | |
| parent | 4d34b84dfcd51bf1d018cd301943433e6a1dff33 (diff) | |
| parent | b71ef42e94fb122b4321d4c8fae7b7c41cbd65b3 (diff) | |
| download | cpython-f701975a05ebda1c87ee2d078d2917676dc0de8b.tar.gz | |
merge 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; |
