mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
hw: prevent warning about conversion narrowing
This commit is contained in:
parent
8f577e9d25
commit
6f2afb9b44
@ -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>
|
||||
|
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user