summaryrefslogtreecommitdiffstats
path: root/Include/longintrepr.h
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-15 15:14:57 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-02-15 15:14:57 (GMT)
commite441674a96b892755fbfe4c1db3101915a3f5edd (patch)
tree076b767c731bc3922861467fc5459ecc6ef1a6cb /Include/longintrepr.h
parent5a74bf63547fc471022238ea66f61f27ca5b9909 (diff)
downloadcpython-e441674a96b892755fbfe4c1db3101915a3f5edd.zip
cpython-e441674a96b892755fbfe4c1db3101915a3f5edd.tar.gz
cpython-e441674a96b892755fbfe4c1db3101915a3f5edd.tar.bz2
A few more type fixes for py3k that were missed in r69635
Diffstat (limited to 'Include/longintrepr.h')
-rw-r--r--Include/longintrepr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/longintrepr.h b/Include/longintrepr.h
index 72f7199..2dbb3f5 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 */