[issue22125] Cure signedness warnings introduced by #22003

2016-07-13 Thread Berker Peksag
Berker Peksag added the comment: Since 2e29d54843a4 this is no longer needed. Thanks for the patches! -- nosy: +berker.peksag resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue22125] Cure signedness warnings introduced by #22003

2014-08-04 Thread Zachary Ware
Zachary Ware added the comment: Either patch makes MSVC happy; Meador's gets points from me for simplicity. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22125 ___

[issue22125] Cure signedness warnings introduced by #22003

2014-08-02 Thread David Wilson
New submission from David Wilson: The attached patch (hopefully) silences the signedness warnings generated by Visual Studio and reported on python-dev in https://mail.python.org/pipermail/python-dev/2014-July/135603.html. This was sloppiness on my part, I even noted the problem in the

[issue22125] Cure signedness warnings introduced by #22003

2014-08-02 Thread Meador Inge
Meador Inge added the comment: H, maybe I am missing some context, but why not avoid the casting and do? diff --git a/Modules/_io/bytesio.c b/Modules/_io/bytesio.c --- a/Modules/_io/bytesio.c +++ b/Modules/_io/bytesio.c @@ -47,7 +47,7 @@ typedef struct { * exception and returns -1 on