summaryrefslogtreecommitdiffstats
path: root/src/sandglass.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-09-17 13:33:10 +0000
committerTavian Barnes <tavianator@gmail.com>2009-09-17 13:33:10 +0000
commit500a64194f6dd1d226e0ae94873dc435284d6727 (patch)
tree275e8ddcd4abe73b19e77177f2fe69fc09f00887 /src/sandglass.h
parent9a358c3cdf8eb34754cc5544e2a5e0f67c022f8d (diff)
downloadlibsandglass-500a64194f6dd1d226e0ae94873dc435284d6727.tar.xz
Generalise handling of negative grain differences.
Diffstat (limited to 'src/sandglass.h')
-rw-r--r--src/sandglass.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sandglass.h b/src/sandglass.h
index 3cd14ba..7073fb9 100644
--- a/src/sandglass.h
+++ b/src/sandglass.h
@@ -99,6 +99,9 @@ struct sandglass_t
* Internal fields
*/
+ /* Adjustment to be added for negative (i.e. overflowed) grains counts */
+ long adjustment;
+
/* For SANDGLASS_TICKS looping support */
unsigned int i, loops;
};