处理编译失败的地方

This commit is contained in:
anod 2022-10-15 17:16:22 +08:00
parent 7b66f6a82e
commit aaf31478bc
2 changed files with 2 additions and 2 deletions

View File

@ -391,7 +391,7 @@ acf_canvas_t acf_get_canvas(acf_rectedge_t width, acf_text_t text, acf_rectedge_
return canvas;
}
acf_canvas_t acf_calculate(acf_rectedge_t width, acf_text_t text, acf_rectedge_t *realwidth, acf_counter_t *renderedcnt, acf_text_t *rest)
acf_error_t acf_calculate(acf_rectedge_t width, acf_text_t text, acf_rectedge_t *realwidth, acf_counter_t *renderedcnt, acf_text_t *rest)
{
FHandle font;
if( gblfont.filename == NULL || RES_OK != fOpen(&font, gblfont.filename, FA_OPEN_EXISTING | FA_READ) )

View File

@ -129,7 +129,7 @@ scanEnd:
if( match != NULL )
{
for( int i=0; i < dList->num; ++i )
for( u32 i=0; i < dList->num; ++i )
{
if( strcmp(match, &dList->ptrs[i][1]) == 0 )
{