diff options
author | Ingo Huerner <ingo_huerner@mentor.com> | 2018-03-27 09:14:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-27 09:14:26 +0200 |
commit | 140cb9c7dbea24d887a556ac9b90a548f59bd47e (patch) | |
tree | 9d12c410462b58ea859cd46449393855a1a70fb2 | |
parent | 615429e0a50bc37618cf9dae95f118f509e92824 (diff) | |
parent | f6c8899bbe9641d414f01d0c998e2e4315468b7f (diff) | |
download | persistence-client-library-140cb9c7dbea24d887a556ac9b90a548f59bd47e.tar.gz |
Merge pull request #14 from frznlogic/fix-long
persistence_client_library_benchmark.c: fix long compilations on 32-bit cpus
-rw-r--r-- | test/persistence_client_library_benchmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/persistence_client_library_benchmark.c b/test/persistence_client_library_benchmark.c index 900a6ec..579a073 100644 --- a/test/persistence_client_library_benchmark.c +++ b/test/persistence_client_library_benchmark.c @@ -167,7 +167,7 @@ void read_benchmark(int numLoops) void write_benchmark(int numLoops) { int ret = 0, i = 0; - long duration = 0, size = 0; + long long duration = 0, size = 0; struct timespec readStart, readEnd; char key[128] = { 0 }; unsigned char buffer[7168] = {0}; // 7kB |