]> granicus.if.org Git - python/commitdiff
Remove CRLF line endings.
authorGuido van Rossum <guido@python.org>
Mon, 10 Apr 2000 17:06:55 +0000 (17:06 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 10 Apr 2000 17:06:55 +0000 (17:06 +0000)
Fredrik Lundh: add two missing casts.

Modules/_sre.c

index 8af876f0165bf5990f2399bedcc0726cdc792b7e..9eec0355cfb8ca964d5222a237828668c892bae3 100644 (file)
@@ -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)