summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHexagon12 <Hexagon12@users.noreply.github.com>2019-05-19 14:50:30 +0100
committerGitHub <noreply@github.com>2019-05-19 14:50:30 +0100
commitedf8c0a5452ffa4b8eb7447c899b05ec4812bbbb (patch)
treec338af44cf5dbbfe08550a38141f1433e9a29d43
parent209a0dfa35aa54ae68b37189ade006dc5051090e (diff)
parent242273788a31044c554bbe060bbd5f163095816b (diff)
Merge pull request #2490 from lioncash/float
ipc_helpers: Amend floating-point type in Pop<double> specialization
-rw-r--r--src/core/hle/ipc_helpers.h2
1 files changed, 1 insertions, 1 deletions
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<u64>();
- float real;
+ double real;
std::memcpy(&real, &value, sizeof(real));
return real;
}