mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 15:43:56 +00:00
Return value of correct type, reported by gcc-4.7
This commit is contained in:
@ -209,7 +209,7 @@ class Genode::Irq_proxy : public THREAD,
|
|||||||
|
|
||||||
/* try to create proxy */
|
/* try to create proxy */
|
||||||
if (!irq_alloc || irq_alloc->alloc_addr(1, irq_number) != Range_allocator::ALLOC_OK)
|
if (!irq_alloc || irq_alloc->alloc_addr(1, irq_number) != Range_allocator::ALLOC_OK)
|
||||||
return false;
|
return 0;
|
||||||
|
|
||||||
PROXY *new_proxy = new (env()->heap()) PROXY(irq_number);
|
PROXY *new_proxy = new (env()->heap()) PROXY(irq_number);
|
||||||
proxies.insert(new_proxy);
|
proxies.insert(new_proxy);
|
||||||
|
Reference in New Issue
Block a user