Message225013
Victor, your patch fixes most of the pesky warnings. However you left one warning left (at least in Mac OS X 10.9.4).
Objects/unicodeobject.c:4831:43: warning: comparison of integers of different signs: 'unsigned long' and 'long' [-Wsign-compare]
if (PY_SSIZE_T_MAX / sizeof(wchar_t) < (size + 1))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
Maybe we can fix it by doing this:
if (PY_SSIZE_T_MAX / (Py_ssize_t)sizeof(wchar_t) < (size + 1))
return NULL; |
|
Date |
User |
Action |
Args |
2014-08-07 14:33:39 | vajrasky | set | recipients:
+ vajrasky, vstinner, neologix, serhiy.storchaka |
2014-08-07 14:33:39 | vajrasky | set | messageid: <1407422019.28.0.163724021167.issue22156@psf.upfronthosting.co.za> |
2014-08-07 14:33:39 | vajrasky | link | issue22156 messages |
2014-08-07 14:33:38 | vajrasky | create | |
|