Add cast to prevent a compiler warning.
This commit is contained in:
parent
2257656017
commit
4ddd284477
@ -38,6 +38,8 @@ Moreover, these functions come from specific header files, which need to be
|
|||||||
specified (and, thankfully, are the same on both the Linux and WinXX
|
specified (and, thankfully, are the same on both the Linux and WinXX
|
||||||
platforms.)
|
platforms.)
|
||||||
|
|
||||||
|
6. Added a (uint32_t) cast to prevent a compiler warning in pcre2_compile.c.
|
||||||
|
|
||||||
|
|
||||||
Version 10.35 09-May-2020
|
Version 10.35 09-May-2020
|
||||||
---------------------------
|
---------------------------
|
||||||
|
@ -2344,7 +2344,7 @@ if (ptr > *nameptr + MAX_NAME_SIZE)
|
|||||||
*errorcodeptr = ERR48;
|
*errorcodeptr = ERR48;
|
||||||
goto FAILED;
|
goto FAILED;
|
||||||
}
|
}
|
||||||
*namelenptr = ptr - *nameptr;
|
*namelenptr = (uint32_t)(ptr - *nameptr);
|
||||||
|
|
||||||
/* Subpattern names must not be empty, and their terminator is checked here.
|
/* Subpattern names must not be empty, and their terminator is checked here.
|
||||||
(What follows a verb or alpha assertion name is checked separately.) */
|
(What follows a verb or alpha assertion name is checked separately.) */
|
||||||
|
Loading…
Reference in New Issue
Block a user