Fix compiler warning.

This commit is contained in:
Simon Kelley
2021-06-21 14:31:54 +01:00
parent 627056febb
commit 5f7be5f0d6

View File

@@ -117,7 +117,7 @@ char *ubus_init()
if (ret)
{
ubus_destroy(ubus);
return ubus_strerror(ret);
return (char *)ubus_strerror(ret);
}
ubus->connection_lost = ubus_disconnect_cb;