From 402231eb3d070503292d79f42ac9dcd403c76211 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 30 Jan 2023 23:15:28 -0700 Subject: [PATCH] hac2l: fix build errors with latest libstratosphere --- source/hactool_application_list.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/hactool_application_list.hpp b/source/hactool_application_list.hpp index 5f0f356..3bd19a7 100644 --- a/source/hactool_application_list.hpp +++ b/source/hactool_application_list.hpp @@ -60,12 +60,12 @@ namespace ams::hactool { template struct ApplicationContentTreeEntryCompare { static ALWAYS_INLINE int Compare(const ApplicationContentTreeEntry &a, const ApplicationContentTreeEntry &b) { - const auto a_i = a.GetId(); + const auto a_i = a.GetId().value; const auto a_v = a.GetVersion(); const auto a_o = a.GetIdOffset(); const auto a_t = a.GetType(); const auto a_m = a.GetMetaType(); - const auto b_i = b.GetId(); + const auto b_i = b.GetId().value; const auto b_v = b.GetVersion(); const auto b_o = b.GetIdOffset(); const auto b_t = b.GetType();