From f251d06a66dcadd4d64c6b4d2b3608f33c8a1868 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Wed, 13 Jun 2001 21:09:15 +0000 Subject: _PyLong_FromByteArray: changed decl of "carry" to match "thisbyte". No semantic change, but a bit clearer and may help a really stupid compiler avoid pointless runtime length conversions. --- Objects/longobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/longobject.c b/Objects/longobject.c index 44819701..93044ee 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -278,7 +278,7 @@ _PyLong_FromByteArray(const unsigned char* bytes, size_t n, 8-bit bytes and (probably) 15-bit Python digits.*/ { size_t i; - unsigned int carry = 1; /* for 2's-comp calculation */ + twodigits carry = 1; /* for 2's-comp calculation */ twodigits accum = 0; /* sliding register */ unsigned int accumbits = 0; /* number of bits in accum */ const unsigned char* p = pstartbyte; -- cgit v0.12