diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-12-02 21:11:52 +0100 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-12-02 21:16:15 +0100 |
commit | f1d67740ee202c6c3af2061df8cafdd265061b59 (patch) | |
tree | e2297913905a6a9b3e89843bf6b4c05f30223d71 /src/tools/operf | |
parent | 08aa32a59162e4383e2782dbf0419c61a0d22524 (diff) | |
download | ouroboros-f1d67740ee202c6c3af2061df8cafdd265061b59.tar.gz ouroboros-f1d67740ee202c6c3af2061df8cafdd265061b59.zip |
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.
Diffstat (limited to 'src/tools/operf')
-rw-r--r-- | src/tools/operf/operf.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |