diff --git a/repos/hello_tutorial/src/hello/client/main.cc b/repos/hello_tutorial/src/hello/client/main.cc index eb4f12d569..e5d1a2922a 100644 --- a/repos/hello_tutorial/src/hello/client/main.cc +++ b/repos/hello_tutorial/src/hello/client/main.cc @@ -37,8 +37,8 @@ struct HelloClient { return; } - _a = _config.xml().attribute_value("a", 2); - _b = _config.xml().attribute_value("b", 5); + _a = _config.xml().attribute_value("a", (int)2); + _b = _config.xml().attribute_value("b", (int)5); } Genode::Signal_handler _config_handler { @@ -55,7 +55,7 @@ struct HelloClient { Genode::log("hello test completed."); } - HelloClient(Genode::Env &env, Hello::Connection &conn) : _env(env), _hello(conn) + HelloClient(Genode::Env &env, Hello::Connection &conn) : _env(env), _hello(conn), _a(5), _b(2) {} };