diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-03-04 10:57:38 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-03-04 10:57:38 -0500 |
commit | 90e281d80fca2f15bc49e354a1e19f6baecffb15 (patch) | |
tree | d574617119c30696e0b9ea4df7da3180c5252d62 | |
parent | 550fbec0594ccef487275178a5803682ba4ac459 (diff) | |
download | libsandglass-90e281d80fca2f15bc49e354a1e19f6baecffb15.tar.xz |
Use a signed type for sandglass_t::loops.
-rw-r--r-- | src/sandglass.h | 4 |
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 */ |