diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-07-03 15:48:30 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-07-03 15:48:30 +0200 |
commit | 36219517c52ad97ab96545c9289b82890861d77b (patch) | |
tree | 7d1f73ac9c3c0009df86ef4210ecba6f39b90bd8 /src/Outputs.cpp | |
parent | e7a9a94fb8ebd50e10ed403ef871620181d3aa1d (diff) | |
download | ODR-AudioEnc-36219517c52ad97ab96545c9289b82890861d77b.tar.gz ODR-AudioEnc-36219517c52ad97ab96545c9289b82890861d77b.tar.bz2 ODR-AudioEnc-36219517c52ad97ab96545c9289b82890861d77b.zip |
Enable -Wall and fix a few warnings
Diffstat (limited to 'src/Outputs.cpp')
-rw-r--r-- | src/Outputs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Outputs.cpp b/src/Outputs.cpp index 6249e2d..31c7912 100644 --- a/src/Outputs.cpp +++ b/src/Outputs.cpp @@ -139,7 +139,7 @@ EDI::EDI() { } EDI::~EDI() { } -void EDI::add_udp_destination(const std::string& host, int port) +void EDI::add_udp_destination(const std::string& host, unsigned int port) { auto dest = make_shared<edi::udp_destination_t>(); dest->dest_addr = host; @@ -152,7 +152,7 @@ void EDI::add_udp_destination(const std::string& host, int port) // TODO make FEC configurable } -void EDI::add_tcp_destination(const std::string& host, int port) +void EDI::add_tcp_destination(const std::string& host, unsigned int port) { auto dest = make_shared<edi::tcp_client_t>(); dest->dest_addr = host; |