summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-18 22:05:29 -0400
committerLioncash <mathew1800@gmail.com>2019-05-18 22:05:33 -0400
commit242273788a31044c554bbe060bbd5f163095816b (patch)
treea46e93fb8d49f888b9d4d4e04d07721a9717530e /src
parentfb85d5670d54e526035d83f66f7689eebda73be2 (diff)
ipc_helpers: Amend floating-point type in Pop<double> specialization
Currently, this overload isn't used, so this wasn't actually hit in any code, only the float overload is used.
Diffstat (limited to 'src')
-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;
}