mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01: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 */
|
||||
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);
|
||||
proxies.insert(new_proxy);
|
||||
|
||||
Reference in New Issue
Block a user