os: avoid implicit conversions

Issue #23
This commit is contained in:
Norman Feske
2021-12-02 11:23:38 +01:00
parent 03047009b1
commit 04cf6ea3ab
167 changed files with 651 additions and 532 deletions

View File

@ -64,7 +64,7 @@ class Block::Session_client : public Genode::Rpc_client<Session>
*/
Packet_descriptor alloc_packet(Genode::size_t size)
{
return tx()->alloc_packet(size, _info.align_log2);
return tx()->alloc_packet(size, (unsigned)_info.align_log2);
}
};