Skip to content

Commit

Permalink
(ref) SOCKET to int
Browse files Browse the repository at this point in the history
  • Loading branch information
MementoRC committed Dec 13, 2024
1 parent d65d735 commit cde31bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipes/libjaylink/fix-socket-to-int.patch
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit cde31bd

Please sign in to comment.