summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-15 15:48:39 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-02-15 15:48:39 (GMT)
commitbcf6b18eb721ac291599a26fba36cec4229cadce (patch)
treee28667255f280f9fa510970464778c311709aa33 /Include
parent2ffb26fb83b4c559d1f4cd3a26cda6d7234e809d (diff)
downloadcpython-bcf6b18eb721ac291599a26fba36cec4229cadce.zip
cpython-bcf6b18eb721ac291599a26fba36cec4229cadce.tar.gz
cpython-bcf6b18eb721ac291599a26fba36cec4229cadce.tar.bz2
A few more minor fixes in longobject.c
Diffstat (limited to 'Include')
-rw-r--r--Include/longintrepr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/longintrepr.h b/Include/longintrepr.h
index c32d72c..d713293 100644
--- a/Include/longintrepr.h
+++ b/Include/longintrepr.h
@@ -19,6 +19,7 @@ extern "C" {
long_pow() requires that SHIFT be divisible by 5. */
typedef unsigned short digit;
+typedef short sdigit; /* signed variant of digit */
#define BASE_TWODIGITS_TYPE long
typedef unsigned BASE_TWODIGITS_TYPE twodigits;
typedef BASE_TWODIGITS_TYPE stwodigits; /* signed variant of twodigits */