Commit 0d554fee authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

msctf: Avoid implicit enum casts.

parent 1ee26813
......@@ -305,7 +305,7 @@ static HRESULT WINAPI Context_GetSelection (ITfContext *iface,
return TF_E_NOLOCK;
else if (SUCCEEDED(hr))
{
pSelection[totalFetched].style.ase = acps.style.ase;
pSelection[totalFetched].style.ase = (TfActiveSelEnd)acps.style.ase;
pSelection[totalFetched].style.fInterimChar = acps.style.fInterimChar;
Range_Constructor(iface, acps.acpStart, acps.acpEnd, &pSelection[totalFetched].range);
totalFetched ++;
......
......@@ -362,7 +362,7 @@ HRESULT TF_SELECTION_to_TS_SELECTION_ACP(const TF_SELECTION *tf, TS_SELECTION_AC
tsAcp->acpStart = This->anchorStart;
tsAcp->acpEnd = This->anchorEnd;
tsAcp->style.ase = tf->style.ase;
tsAcp->style.ase = (TsActiveSelEnd)tf->style.ase;
tsAcp->style.fInterimChar = tf->style.fInterimChar;
return S_OK;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment