summaryrefslogtreecommitdiffstats
path: root/src/StatsPublish.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-07-03 15:38:29 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-07-03 15:38:29 +0200
commite7a9a94fb8ebd50e10ed403ef871620181d3aa1d (patch)
tree2e9e0cdf04b6d97cc5155e67c83aeb41755e2969 /src/StatsPublish.cpp
parent2e8f75172d3928df7f113a7176f4fc275f6ed379 (diff)
downloadODR-AudioEnc-e7a9a94fb8ebd50e10ed403ef871620181d3aa1d.tar.gz
ODR-AudioEnc-e7a9a94fb8ebd50e10ed403ef871620181d3aa1d.tar.bz2
ODR-AudioEnc-e7a9a94fb8ebd50e10ed403ef871620181d3aa1d.zip
Remove warning and useless include in StatsPublish
Diffstat (limited to 'src/StatsPublish.cpp')
-rw-r--r--src/StatsPublish.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StatsPublish.cpp b/src/StatsPublish.cpp
index ccf2bb4..0bad833 100644
--- a/src/StatsPublish.cpp
+++ b/src/StatsPublish.cpp
@@ -109,7 +109,7 @@ void StatsPublisher::send_stats()
fprintf(stderr, "Statistics send failed: %s\n", strerror(errno));
}
}
- else if (ret != yamlstr.size()) {
+ else if (ret != (ssize_t)yamlstr.size()) {
fprintf(stderr, "Statistics send incorrect length: %d bytes of %zu transmitted\n",
ret, yamlstr.size());
}