From 500a64194f6dd1d226e0ae94873dc435284d6727 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 17 Sep 2009 13:33:10 +0000 Subject: Generalise handling of negative grain differences. --- src/sandglass.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/sandglass.h') 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; }; -- cgit v1.2.3