Message272500
I didn’t look too closely, but I did see that _ssl_locks_count is unsigned int. I was compiling for x86-64 Linux, where int is 32 bits and size_t is 64. So maybe GCC was optimizing the (size_t) cast away, and then rightfully warning that the largest unsigned int will never exceed the largest possible array size. |
|
Date |
User |
Action |
Args |
2016-08-12 05:54:28 | martin.panter | set | recipients:
+ martin.panter, vstinner, skrah, serhiy.storchaka, ztane |
2016-08-12 05:54:28 | martin.panter | set | messageid: <1470981268.17.0.233844073723.issue23545@psf.upfronthosting.co.za> |
2016-08-12 05:54:28 | martin.panter | link | issue23545 messages |
2016-08-12 05:54:27 | martin.panter | create | |
|