Fix a narrowing conversion failing in MSVC
This commit is contained in:
parent
ecde6a4baf
commit
4c9249f713
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ void Editor::Impl::uiReceiveValue(EditId id, const EditValue& v)
|
|||
|
||||
void Editor::Impl::createFrameContents()
|
||||
{
|
||||
const CRect bounds { 0.0, 0.0, viewWidth, viewHeight };
|
||||
const CRect bounds { 0.0, 0.0, static_cast<CCoord>(viewWidth), static_cast<CCoord>(viewHeight) };
|
||||
CViewContainer* view = new CViewContainer(bounds);
|
||||
view_ = view;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue