Commit ef0d177a authored by Guido van Rossum's avatar Guido van Rossum

Remove CRLF line endings.

Fredrik Lundh: add two missing casts.
parent 8ce07255
...@@ -219,10 +219,10 @@ SRE_AT(SRE_STATE* state, SRE_CHAR* ptr, SRE_CODE at) ...@@ -219,10 +219,10 @@ SRE_AT(SRE_STATE* state, SRE_CHAR* ptr, SRE_CODE at)
switch (at) { switch (at) {
case 'a': case 'a':
/* beginning */ /* beginning */
return (ptr == state->beginning); return ((void*) ptr == state->beginning);
case 'z': case 'z':
/* end */ /* end */
return (ptr == state->end); return ((void*) ptr == state->end);
case 'b': case 'b':
/* word boundary */ /* word boundary */
if (state->beginning == state->end) if (state->beginning == state->end)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment