summaryrefslogtreecommitdiff
path: root/src/if_python3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_python3.c')
-rw-r--r--src/if_python3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_python3.c b/src/if_python3.c
index d93d63318..823cfea3b 100644
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -1629,7 +1629,7 @@ LineToString(const char *str)
Py_ssize_t len = strlen(str);
char *tmp,*p;
- tmp = (char *)alloc((unsigned)(len+1));
+ tmp = (char *)alloc(len + 1);
p = tmp;
if (p == NULL)
{