summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/binascii.c2
-rw-r--r--Python/compile.c1
2 files changed, 1 insertions, 2 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';
diff --git a/Python/compile.c b/Python/compile.c
index 30ac41a..7065647 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -305,7 +305,6 @@ com_error(struct compiling *c, PyObject *exc, char *msg)
{
size_t n = strlen(msg);
PyObject *v, *tb, *tmp;
- char *s;
c->c_errors++;
if (c->c_lineno <= 1) {
/* Unknown line number or single interactive command */