From f0119190b447e887a53d1a4f9b3f41730ec32ecc Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Wed, 13 Apr 2016 15:47:19 -0700 Subject: [PATCH] Fix shifting of SECUREVALUE_SLOT_SD. --- source/ui/section/action/deletesecurevalue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ui/section/action/deletesecurevalue.c b/source/ui/section/action/deletesecurevalue.c index 9b1d964..30d8d3a 100644 --- a/source/ui/section/action/deletesecurevalue.c +++ b/source/ui/section/action/deletesecurevalue.c @@ -16,7 +16,7 @@ static void action_delete_secure_value_end_onresponse(ui_view* view, void* data, static void action_delete_secure_value_update(ui_view* view, void* data, float* progress, char* progressText) { title_info* info = (title_info*) data; - u64 param = (SECUREVALUE_SLOT_SD << 32) | (info->titleId & 0xFFFFFFF); + u64 param = ((u64) SECUREVALUE_SLOT_SD << 32) | (info->titleId & 0xFFFFFFF); u8 out = 0; Result res = FSUSER_ControlSecureSave(SECURESAVE_ACTION_DELETE, ¶m, sizeof(param), &out, sizeof(out));