summaryrefslogtreecommitdiff
path: root/src/tools/oping/oping_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/oping/oping_client.c')
-rw-r--r--src/tools/oping/oping_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/oping/oping_client.c b/src/tools/oping/oping_client.c
index 1ce96a75..b30ba5f4 100644
--- a/src/tools/oping/oping_client.c
+++ b/src/tools/oping/oping_client.c
@@ -81,7 +81,7 @@ void * reader(void * o)
continue;
}
- if (ntohl(msg->id) >= (ssize_t) client.count) {
+ if (ntohl(msg->id) >= client.count) {
printf("Invalid id.\n");
continue;
}