summaryrefslogtreecommitdiff
path: root/meta/packages/musicbrainz/files/change-len-type.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/musicbrainz/files/change-len-type.patch')
-rw-r--r--meta/packages/musicbrainz/files/change-len-type.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/packages/musicbrainz/files/change-len-type.patch b/meta/packages/musicbrainz/files/change-len-type.patch
new file mode 100644
index 000000000..b2e6b083b
--- /dev/null
+++ b/meta/packages/musicbrainz/files/change-len-type.patch
@@ -0,0 +1,11 @@
+--- libmusicbrainz-2.1.2.orig/lib/comsocket.cpp
++++ libmusicbrainz-2.1.2/lib/comsocket.cpp
+@@ -356,7 +356,7 @@
+ &wset))
+ {
+ int error = 0;
+- mb_socklen_t len = sizeof(error);
++ int len = sizeof(error);
+
+ if (getsockopt(m_nSocket, SOL_SOCKET, SO_ERROR, &error,
+ &len) < 0)