summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-04 10:57:38 -0500
committerTavian Barnes <tavianator@gmail.com>2010-03-04 10:57:38 -0500
commit90e281d80fca2f15bc49e354a1e19f6baecffb15 (patch)
treed574617119c30696e0b9ea4df7da3180c5252d62
parent550fbec0594ccef487275178a5803682ba4ac459 (diff)
downloadlibsandglass-90e281d80fca2f15bc49e354a1e19f6baecffb15.tar.xz
Use a signed type for sandglass_t::loops.
-rw-r--r--src/sandglass.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sandglass.h b/src/sandglass.h
index 5456391..9e37578 100644
--- a/src/sandglass.h
+++ b/src/sandglass.h
@@ -86,8 +86,8 @@ typedef struct sandglass_t
/* Adjustment to be added for negative (i.e. overflowed) grains counts */
long adjustment;
- /* For SANDGLASS_REALTICKS looping support */
- unsigned int i, loops;
+ /* For sandglass_bench_fine() looping support */
+ int i, loops;
/* A field used by sandglass_bench() to store the overhead of
sandglass_begin()/_elapse(), and of looping */