[Box Backup-commit] COMMIT r3079 - box/trunk/lib/common

subversion at boxbackup.org subversion at boxbackup.org
Thu Feb 2 22:16:58 GMT 2012


Author: chris
Date: 2012-02-02 22:16:58 +0000 (Thu, 02 Feb 2012)
New Revision: 3079

Modified:
   box/trunk/lib/common/BoxTime.h
Log:
Make box_time_t signed so that we can subtract them without getting silly answers.


Modified: box/trunk/lib/common/BoxTime.h
===================================================================
--- box/trunk/lib/common/BoxTime.h	2012-02-02 22:16:24 UTC (rev 3078)
+++ box/trunk/lib/common/BoxTime.h	2012-02-02 22:16:58 UTC (rev 3079)
@@ -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)




More information about the Boxbackup-commit mailing list