Fix compiler warning.

This commit is contained in:
Simon Kelley committed 2021-06-21 14:31:54 +01:00
1 parent 627056febb
commit 5f7be5f0d6
1 file changed
+1 -1
+1 -1
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;