mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 09:12:46 +01:00
Merge pull request #2490 from lioncash/float
ipc_helpers: Amend floating-point type in Pop<double> specialization
This commit is contained in:
commit
edf8c0a545
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue