From 4be702e5c225949feb7efbe88d734283e23008f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Edelbo?= Date: Tue, 20 Aug 2024 12:55:46 +0200 Subject: [PATCH] Fix compile error --- src/realm/exec/realm_trawler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/realm/exec/realm_trawler.cpp b/src/realm/exec/realm_trawler.cpp index 156dd1796d..d50fc5b9ea 100644 --- a/src/realm/exec/realm_trawler.cpp +++ b/src/realm/exec/realm_trawler.cpp @@ -606,7 +606,7 @@ void Table::print_columns(const Group& group) const { std::cout << " <" << m_table_type << ">\n"; for (unsigned i = 0; i < m_column_names.size(); i++) { - auto type = m_column_types.get_val(i) & 0xFFFF; + int type = int(m_column_types.get_val(i) & 0xFFFF); auto attr = realm::ColumnAttr(m_column_attributes.get_val(i)); std::string type_str; realm::ColKey col_key;