forecast: Explicitly cast sockaddr to fix compiler warning

On Travis we compile with -Werror.
This commit is contained in:
Tobias Brunner committed 2015-02-23 12:35:50 +01:00
1 parent 89b60e9fd7
commit 98632af672
1 file changed
+1 -1
@@ -639,7 +639,7 @@ METHOD(forecast_listener_t, set_broadcast, void,
{
struct sockaddr_in *in;
in = bcast->get_sockaddr(bcast);
in = (struct sockaddr_in*)bcast->get_sockaddr(bcast);
this->broadcast = in->sin_addr.s_addr;
}
}