From 242273788a31044c554bbe060bbd5f163095816b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 18 May 2019 22:05:29 -0400 Subject: ipc_helpers: Amend floating-point type in Pop specialization Currently, this overload isn't used, so this wasn't actually hit in any code, only the float overload is used. --- src/core/hle/ipc_helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h index ac0e1d796..5bb139483 100644 --- a/src/core/hle/ipc_helpers.h +++ b/src/core/hle/ipc_helpers.h @@ -438,7 +438,7 @@ inline float RequestParser::Pop() { template <> inline double RequestParser::Pop() { const u64 value = Pop(); - float real; + double real; std::memcpy(&real, &value, sizeof(real)); return real; } -- cgit v1.2.3