From 90e281d80fca2f15bc49e354a1e19f6baecffb15 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 4 Mar 2010 10:57:38 -0500 Subject: Use a signed type for sandglass_t::loops. --- src/sandglass.h | 4 ++-- 1 file 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 */ -- cgit v1.2.3