mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 10:01:57 +00:00
Resolve 'size_t' ambiguity
When building core as hybrid Linux/Genode program, 'size_t' becomes ambiguous.
This commit is contained in:
parent
42cef716e1
commit
8930ce765d
@ -222,7 +222,7 @@ int main()
|
||||
/* transfer all left memory to init, but leave some memory left for core */
|
||||
/* NOTE: exception objects thrown in core components are currently allocated on
|
||||
core's heap and not accounted by the component's meta data allocator */
|
||||
size_t init_quota = platform()->ram_alloc()->avail() - 72*1024;
|
||||
Genode::size_t init_quota = platform()->ram_alloc()->avail() - 72*1024;
|
||||
env()->ram_session()->transfer_quota(init_ram_session_cap, init_quota);
|
||||
PDBG("transferred %zd MB to init", init_quota / (1024*1024));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user