loader: fix enum cast

This commit is contained in:
Michael Scire 2021-09-19 10:42:28 -07:00
parent 801f784fae
commit 3dc51e164f

View file

@ -86,7 +86,7 @@ namespace ams::ldr {
lr::Path path;
/* Check that path registration is allowable. */
if (loc.storage_id == ncm::StorageId::Host) {
if (static_cast<ncm::StorageId>(loc.storage_id) == ncm::StorageId::Host) {
AMS_ABORT_UNLESS(spl::IsDevelopment());
}