mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 12:15:45 +00:00
fix #2560 and other comments
This commit is contained in:
parent
48825ceb01
commit
7b87571b09
3 changed files with 22 additions and 22 deletions
|
@ -119,7 +119,7 @@ inline void RequestBuilder::Push(u64 value) {
|
|||
|
||||
template <>
|
||||
inline void RequestBuilder::Push(bool value) {
|
||||
Push(u8(value));
|
||||
Push(static_cast<u8>(value));
|
||||
}
|
||||
|
||||
template <>
|
||||
|
@ -277,7 +277,7 @@ inline u64 RequestParser::Pop() {
|
|||
|
||||
template <>
|
||||
inline bool RequestParser::Pop() {
|
||||
return Pop<u8>() != 0; // != 0 to remove warning C4800
|
||||
return Pop<u8>() != 0;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue