summaryrefslogtreecommitdiffstats
path: root/Modules/_sre.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_sre.c')
-rw-r--r--Modules/_sre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c
index 8af876f..9eec035 100644
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -219,10 +219,10 @@ SRE_AT(SRE_STATE* state, SRE_CHAR* ptr, SRE_CODE at)
switch (at) {
case 'a':
/* beginning */
- return (ptr == state->beginning);
+ return ((void*) ptr == state->beginning);
case 'z':
/* end */
- return (ptr == state->end);
+ return ((void*) ptr == state->end);
case 'b':
/* word boundary */
if (state->beginning == state->end)