summaryrefslogtreecommitdiffstats
path: root/Modules/binascii.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-08-15 16:41:26 (GMT)
committerTim Peters <tim.peters@gmail.com>2000-08-15 16:41:26 (GMT)
commitb59ab42487a442e31b0622643e47912166dfbd21 (patch)
tree6080b33595c8eb82d2d3219567d808344aba08d4 /Modules/binascii.c
parent185a29b08ffcb1370e469f25173f185ed0a60d39 (diff)
downloadcpython-b59ab42487a442e31b0622643e47912166dfbd21.zip
cpython-b59ab42487a442e31b0622643e47912166dfbd21.tar.gz
cpython-b59ab42487a442e31b0622643e47912166dfbd21.tar.bz2
Fix new compiler warnings. Unused var in compile.c. Argsize mismatches
in binascii.c (only on platforms with signed chars -- although Py_CHARMASK is documented as returning an int, it only does so on platforms with signed chars).
Diffstat (limited to 'Modules/binascii.c')
-rw-r--r--Modules/binascii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/binascii.c b/Modules/binascii.c
index 1fe0663..a9e190b 100644
--- a/Modules/binascii.c
+++ b/Modules/binascii.c
@@ -918,7 +918,7 @@ This function is also available as \"hexlify()\".";
static int
-to_int(char c)
+to_int(int c)
{
if (isdigit(c))
return c - '0';