diff options
author | Guido van Rossum <guido@python.org> | 2000-04-10 17:06:55 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-04-10 17:06:55 (GMT) |
commit | 29530886af801d127cd9e3f629c39524e64307f0 (patch) | |
tree | f4f1ffa24bb08be0cdf46ea49253328c8e82a590 /Modules/_sre.c | |
parent | a25d7ddbf03a0c6e328e243e9df5d127f9665f26 (diff) | |
download | cpython-29530886af801d127cd9e3f629c39524e64307f0.zip cpython-29530886af801d127cd9e3f629c39524e64307f0.tar.gz cpython-29530886af801d127cd9e3f629c39524e64307f0.tar.bz2 |
Remove CRLF line endings.
Fredrik Lundh: add two missing casts.
Diffstat (limited to 'Modules/_sre.c')
-rw-r--r-- | Modules/_sre.c | 4 |
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) |