Skip to content
Snippets Groups Projects
Unverified Commit edf8c0a5 authored by Hexagon12's avatar Hexagon12 Committed by GitHub
Browse files

Merge pull request #2490 from lioncash/float

ipc_helpers: Amend floating-point type in Pop<double> specialization
parents 209a0dfa 24227378
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