mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37:35 +00:00
LibIPC: Replace u32/u64 value coders with u/ul/ull value coders
We can and should do more cleanups of this kind, but this is a quick fix to unbreak the 32-bit HackStudio build.
This commit is contained in:
parent
16746efcf8
commit
ddce053f6c
4 changed files with 42 additions and 9 deletions
|
@ -37,13 +37,19 @@ ErrorOr<void> Decoder::decode(u16& value)
|
|||
return m_stream.try_handle_any_error();
|
||||
}
|
||||
|
||||
ErrorOr<void> Decoder::decode(u32& value)
|
||||
ErrorOr<void> Decoder::decode(unsigned& value)
|
||||
{
|
||||
m_stream >> value;
|
||||
return m_stream.try_handle_any_error();
|
||||
}
|
||||
|
||||
ErrorOr<void> Decoder::decode(u64& value)
|
||||
ErrorOr<void> Decoder::decode(unsigned long& value)
|
||||
{
|
||||
m_stream >> value;
|
||||
return m_stream.try_handle_any_error();
|
||||
}
|
||||
|
||||
ErrorOr<void> Decoder::decode(unsigned long long& value)
|
||||
{
|
||||
m_stream >> value;
|
||||
return m_stream.try_handle_any_error();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue