aboutsummaryrefslogtreecommitdiffstats
path: root/src/StatsPublish.cpp
diff options
context:
space:
mode:
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());
}