summaryrefslogtreecommitdiff
path: root/lib/common
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2012-02-02 22:16:58 +0000
committerChris Wilson <chris+github@qwirx.com>2012-02-02 22:16:58 +0000
commit7a2a5d04f33f2747dc54c4152a4e413909d274a4 (patch)
tree1f78286b09be71d53c18ba136e42ce5b37df8d3b /lib/common
parentdf5748e5aabea42c8ab04f770d368d886be1fff3 (diff)
Make box_time_t signed so that we can subtract them without getting silly answers.
Diffstat (limited to 'lib/common')
-rw-r--r--lib/common/BoxTime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/BoxTime.h b/lib/common/BoxTime.h
index a56f39f1..cc1571cd 100644
--- a/lib/common/BoxTime.h
+++ b/lib/common/BoxTime.h
@@ -11,7 +11,7 @@
#define BOXTIME__H
// Time is presented as an unsigned 64 bit integer, in microseconds
-typedef uint64_t box_time_t;
+typedef int64_t box_time_t;
#define NANO_SEC_IN_SEC (1000000000LL)
#define NANO_SEC_IN_USEC (1000)