Cast to get rid of compiler warning.
This commit is contained in:
parent
5ca7ac2e8e
commit
9938684b7b
|
@ -100,6 +100,8 @@ it was reported not to on other systems, causing the tests to fail.
|
|||
25. In the RunTest script, make the test for stack setting use the same value
|
||||
for the stack as it needs for -bigstack.
|
||||
|
||||
26. Insert a cast in pcre2_dfa_match.c to suppress a compiler warning.
|
||||
|
||||
|
||||
Version 10.32 10-September-2018
|
||||
-------------------------------
|
||||
|
|
|
@ -426,7 +426,7 @@ else
|
|||
uint32_t newsizeK = newsize/(1024/sizeof(int));
|
||||
|
||||
if (newsizeK + mb->heap_used > mb->heap_limit)
|
||||
newsizeK = mb->heap_limit - mb->heap_used;
|
||||
newsizeK = (uint32_t)(mb->heap_limit - mb->heap_used);
|
||||
newsize = newsizeK*(1024/sizeof(int));
|
||||
|
||||
if (newsize < RWS_RSIZE + ovecsize + RWS_ANCHOR_SIZE)
|
||||
|
|
Loading…
Reference in New Issue