diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-04-21 22:25:39 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-04-21 22:25:39 -0400 |
commit | f055b64c58b9ce96a59da99e8f388d63aa4b0244 (patch) | |
tree | a35aaffba5e073634753525b72e84fb28b2dfc62 /bench/libdimension/array.c | |
parent | 9cc3fef27ba1c23b2b935b6f81cf15dc9159fe3a (diff) | |
download | dimension-f055b64c58b9ce96a59da99e8f388d63aa4b0244.tar.xz |
Fix up some compiler warnings.
Diffstat (limited to 'bench/libdimension/array.c')
-rw-r--r-- | bench/libdimension/array.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/libdimension/array.c b/bench/libdimension/array.c index 137d532..3fe0c83 100644 --- a/bench/libdimension/array.c +++ b/bench/libdimension/array.c @@ -66,12 +66,12 @@ main(void) /* dmnsn_array_at() */ void *ptr; sandglass_bench_fine(&sandglass, ptr = dmnsn_array_at(array, count/2)); - printf("dmnsn_array_at(): %ld\n", sandglass.grains); + printf("dmnsn_array_at() = %p: %ld\n", ptr, sandglass.grains); /* dmnsn_array_size() */ size_t size; sandglass_bench_fine(&sandglass, size = dmnsn_array_size(array)); - printf("dmnsn_array_size(): %ld\n", sandglass.grains); + printf("dmnsn_array_size() = %zu: %ld\n", size, sandglass.grains); /* dmnsn_array_resize() */ dmnsn_array_resize(array, count); |