aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-11-16 10:53:18 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-11-16 10:53:18 +0100
commit8f1dc553d2eeed2354d6c914c4f1aded20dbb458 (patch)
treea3426ac225061f6b634b7c75b7257972674b9e47 /src
parentac2bab08b3f463040916f9b709df3c7807880ecc (diff)
downloadODR-AudioEnc-8f1dc553d2eeed2354d6c914c4f1aded20dbb458.tar.gz
ODR-AudioEnc-8f1dc553d2eeed2354d6c914c4f1aded20dbb458.tar.bz2
ODR-AudioEnc-8f1dc553d2eeed2354d6c914c4f1aded20dbb458.zip
PadInterface: try again getting OSX to compile
Diffstat (limited to 'src')
-rw-r--r--src/PadInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PadInterface.cpp b/src/PadInterface.cpp
index 3de1100..47b9bce 100644
--- a/src/PadInterface.cpp
+++ b/src/PadInterface.cpp
@@ -61,7 +61,7 @@ void PadInterface::open(const std::string& pad_ident)
fprintf(stderr, "Unlinking of socket %s failed: %s\n", claddr.sun_path, strerror(errno));
}
- int ret = ::bind(m_sock, (const struct sockaddr *) &claddr, sizeof(struct sockaddr_un));
+ const auto ret = ::bind(m_sock, (const struct sockaddr *) &claddr, sizeof(struct sockaddr_un));
if (ret == -1) {
throw runtime_error("PAD socket bind failed " + string(strerror(errno)));
}