Skip to content

Commit 1d66123

Browse files
committed
Fix build warning.
1 parent 0ad6de9 commit 1d66123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XR_APILAYER_MBUCCHIA_toolkit/layer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ namespace {
451451
// Migrate the value upon first run.
452452
m_configManager->setDefault("resolution_width", 0);
453453
if (m_configManager->getValue("resolution_width") != 0) {
454-
const int migratedValue = m_configManager->getValue("resolution_width") * m_resolutionHeightRatio;
454+
const int migratedValue = (int)(m_configManager->getValue("resolution_width") * m_resolutionHeightRatio);
455455
m_configManager->setValue(config::SettingResolutionHeight, migratedValue, true);
456456
m_configManager->deleteValue("resolution_width");
457457
m_configManager->tick();

0 commit comments

Comments
 (0)