commit | 29530886af801d127cd9e3f629c39524e64307f0 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Apr 10 17:06:55 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Apr 10 17:06:55 2000 +0000 |
tree | f4f1ffa24bb08be0cdf46ea49253328c8e82a590 | |
parent | a25d7ddbf03a0c6e328e243e9df5d127f9665f26 [diff] [blame] |
Remove CRLF line endings. Fredrik Lundh: add two missing casts.
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 @@ 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)