diff --git a/recipes/libjaylink/fix-socket-to-int.patch b/recipes/libjaylink/fix-socket-to-int.patch index 26a5e82cc363c..d7627c15bac0e 100644 --- a/recipes/libjaylink/fix-socket-to-int.patch +++ b/recipes/libjaylink/fix-socket-to-int.patch @@ -1,5 +1,5 @@ --- a/libjaylink/discovery_tcp.c +++ b/libjaylink/discovery_tcp.c -@@ -232,1 +232,1 @@ -- int sock; -+ SOCKET sock; +@@ -243,1 +243,1 @@ +- sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); ++ sock = (int)socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);