From f1d67740ee202c6c3af2061df8cafdd265061b59 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Fri, 2 Dec 2016 21:11:52 +0100 Subject: tools: Fix compilation issues on 32 bit machines size_t is 32 bits on those machines, failing as an argument to printf. Some variables in oping and operf were changed to uint32_t and uint64_t to avoid issues. --- src/tools/operf/operf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tools/operf/operf.c') diff --git a/src/tools/operf/operf.c b/src/tools/operf/operf.c index 46dfc14d..808a8807 100644 --- a/src/tools/operf/operf.c +++ b/src/tools/operf/operf.c @@ -44,8 +44,8 @@ struct c { bool sleep; int duration; - size_t sent; - size_t rcvd; + uint64_t sent; + uint64_t rcvd; flow_set_t * flows; fqueue_t * fq; -- cgit v1.2.3