mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
Remove CRLF line endings.
Fredrik Lundh: add two missing casts.
This commit is contained in:
parent
a25d7ddbf0
commit
29530886af
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue