Fixing Mac bustage by adding typecast. Approved by sar.

This commit is contained in:
gordon 1998-06-10 23:04:18 +00:00
parent 9b5e8e48d3
commit 03e58a5dca

View File

@ -4825,7 +4825,7 @@ void lo_RelayoutTextElements ( MWContext * context,
block->endTextElement = NULL;
if ( fromElement == NULL )
fromElement = lo_tv_GetNextLayoutElement ( state, (LO_Element*)block, FALSE );
fromElement = (LO_TextStruct *)lo_tv_GetNextLayoutElement ( state, (LO_Element*)block, FALSE );
if ( fromElement == NULL)
fromElement = (LO_TextStruct *) startElement;