summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-04-10 17:06:55 (GMT)
committerGuido van Rossum <guido@python.org>2000-04-10 17:06:55 (GMT)
commit29530886af801d127cd9e3f629c39524e64307f0 (patch)
treef4f1ffa24bb08be0cdf46ea49253328c8e82a590 /Modules
parenta25d7ddbf03a0c6e328e243e9df5d127f9665f26 (diff)
downloadcpython-29530886af801d127cd9e3f629c39524e64307f0.zip
cpython-29530886af801d127cd9e3f629c39524e64307f0.tar.gz
cpython-29530886af801d127cd9e3f629c39524e64307f0.tar.bz2
Remove CRLF line endings.
Fredrik Lundh: add two missing casts.
Diffstat (limited to 'Modules')
-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)