Skip to content

Commit c1f9c8d

Browse files
committed
fix(clang): build error
1 parent 0ce72c3 commit c1f9c8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wrappers/instance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ bool Anvil::Instance::init()
683683
app_info.pNext = nullptr;
684684
app_info.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
685685

686-
VkLayerSettingsCreateInfoEXT layer_settings_create_info {VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT, nullptr, layerSettings.size(), layerSettings.data()};
686+
VkLayerSettingsCreateInfoEXT layer_settings_create_info {VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT, nullptr, static_cast<uint32_t>(layerSettings.size()), layerSettings.data()};
687687
layer_settings_create_info.pNext = m_create_info_ptr->pNext;
688688

689689
create_info.enabledExtensionCount = static_cast<uint32_t>(enabled_extensions_raw.size() );

0 commit comments

Comments
 (0)