hw: prevent warning about conversion narrowing

This commit is contained in:
Christian Helmuth 2017-06-16 13:17:03 +02:00
parent 8f577e9d25
commit 6f2afb9b44
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ namespace Board {
enum { UART_BASE, UART_CLOCK };
struct Serial : Hw::Riscv_uart {
Serial(unsigned, unsigned, unsigned) {} };
Serial(Genode::addr_t, Genode::size_t, unsigned) {} };
}
template <typename E, unsigned B, unsigned S>

View File

@ -19,7 +19,7 @@
namespace Board {
enum { UART_BASE, UART_CLOCK };
struct Serial : Hw::Riscv_uart {
Serial(unsigned, unsigned, unsigned) {} };
Serial(Genode::addr_t, Genode::size_t, unsigned) {} };
}
#endif /* _CORE__SPEC__RISCV__BOARD_H_ */