fixed the const issue in hawk_trim_uchars() and hawk_trim_bchars()

This commit is contained in:
hyung-hwan 2021-07-19 19:37:43 +00:00
parent 02aa80e9c2
commit 7d8f32c3cb

View File

@ -948,7 +948,7 @@ hawk_uch_t* hawk_trim_uchars (const hawk_uch_t* str, hawk_oow_t* len, int flags)
if (p < end)
{
hawk_uch_t* s = HAWK_NULL, * e = HAWK_NULL;
const hawk_uch_t* s = HAWK_NULL, * e = HAWK_NULL;
do
{
@ -990,7 +990,7 @@ hawk_bch_t* hawk_trim_bchars (const hawk_bch_t* str, hawk_oow_t* len, int flags)
if (p < end)
{
hawk_bch_t* s = HAWK_NULL, * e = HAWK_NULL;
const hawk_bch_t* s = HAWK_NULL, * e = HAWK_NULL;
do
{