Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2953088

Browse files
committed
Remove CRLF line endings.
Fredrik Lundh: add two missing casts.
1 parent a25d7dd commit 2953088

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/_sre.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,10 @@ SRE_AT(SRE_STATE* state, SRE_CHAR* ptr, SRE_CODE at)
219219
switch (at) {
220220
case 'a':
221221
/* beginning */
222-
return (ptr == state->beginning);
222+
return ((void*) ptr == state->beginning);
223223
case 'z':
224224
/* end */
225-
return (ptr == state->end);
225+
return ((void*) ptr == state->end);
226226
case 'b':
227227
/* word boundary */
228228
if (state->beginning == state->end)

0 commit comments

Comments
 (0)