summaryrefslogtreecommitdiffstats
path: root/Modules/pypcre.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-10 21:52:06 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-10 21:52:06 (GMT)
commit39b0f8976caeb81e475454424f2a8d6e39609f52 (patch)
tree6ce7a1c3f4e4f236ef5ed6cb2d9d1dce38eef918 /Modules/pypcre.c
parent462a5495fb3e2df2163d38dfc27615004aada942 (diff)
downloadcpython-39b0f8976caeb81e475454424f2a8d6e39609f52.zip
cpython-39b0f8976caeb81e475454424f2a8d6e39609f52.tar.gz
cpython-39b0f8976caeb81e475454424f2a8d6e39609f52.tar.bz2
Address warnings issued by the MSVC++ compiler
Diffstat (limited to 'Modules/pypcre.c')
-rw-r--r--Modules/pypcre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/pypcre.c b/Modules/pypcre.c
index bec9197..ab8c477 100644
--- a/Modules/pypcre.c
+++ b/Modules/pypcre.c
@@ -3044,8 +3044,8 @@ if (md->off_num) free(md->off_num);
if (md->offset_top) free(md->offset_top);
if (md->r1) free(md->r1);
if (md->r2) free(md->r2);
-if (md->eptr) free(md->eptr);
-if (md->ecode) free(md->ecode);
+if (md->eptr) free((char *)md->eptr);
+if (md->ecode) free((char *)md->ecode);
return 0;
}