From: Guido van Rossum Date: Mon, 10 Apr 2000 17:06:55 +0000 (+0000) Subject: Remove CRLF line endings. X-Git-Tag: v1.6a2~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29530886af801d127cd9e3f629c39524e64307f0;p=python Remove CRLF line endings. Fredrik Lundh: add two missing casts. --- diff --git a/Modules/_sre.c b/Modules/_sre.c index 8af876f016..9eec0355cf 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)