fix warnings in amiga stringview

This commit is contained in:
Vincent Sanders 2020-05-25 13:45:31 +01:00
parent 2b8501b342
commit 8924f0c7f9
1 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,7 @@ static uint32 myStringSearch( Class *cl, Object *obj )
if(searchString)
{
searchString += 3;
if (bufpos >= searchString - data->SearchBuffer)
if (bufpos >= (uint32)(searchString - data->SearchBuffer))
bufpos -= searchString - data->SearchBuffer;
}
else
@ -848,7 +848,7 @@ Class *MakeStringClass( void )
if ( cl )
{
cl->cl_Dispatcher.h_Entry = (uint32(*)())myStringClassDispatcher;
cl->cl_Dispatcher.h_Entry = (uint32(*)(void))myStringClassDispatcher;
}
URLHistory_Init();