Skip to content
Snippets Groups Projects
Commit 24227378 authored by Lioncash's avatar Lioncash
Browse files

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.
parent fb85d567
No related branches found
No related tags found
No related merge requests found
...@@ -438,7 +438,7 @@ inline float RequestParser::Pop() { ...@@ -438,7 +438,7 @@ inline float RequestParser::Pop() {
template <> template <>
inline double RequestParser::Pop() { inline double RequestParser::Pop() {
const u64 value = Pop<u64>(); const u64 value = Pop<u64>();
float real; double real;
std::memcpy(&real, &value, sizeof(real)); std::memcpy(&real, &value, sizeof(real));
return real; return real;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment