diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-01-31 22:26:17 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-01-31 22:26:34 -0500 |
commit | e45cb6180280494f97eb5a0a2be32de56bc1644a (patch) | |
tree | e06602ba556ade0855e6783edd693a93fc74c0ea /src/mongo/bson/util/misc.h | |
parent | 7cb8cf6c3459bfda29eeae840aee708ceea22ed5 (diff) | |
download | mongo-e45cb6180280494f97eb5a0a2be32de56bc1644a.tar.gz |
fix 32-bit agg test and Date_t
Diffstat (limited to 'src/mongo/bson/util/misc.h')
-rw-r--r-- | src/mongo/bson/util/misc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/bson/util/misc.h b/src/mongo/bson/util/misc.h index b547c981bdf..2d2cc7bc441 100644 --- a/src/mongo/bson/util/misc.h +++ b/src/mongo/bson/util/misc.h @@ -77,7 +77,7 @@ namespace mongo { operator unsigned long long&() { return millis; } operator const unsigned long long&() const { return millis; } void toTm (tm *buf) { - time_t dtime = (time_t) millis/1000; + time_t dtime = (time_t)(millis/1000); #if defined(_WIN32) gmtime_s(buf, &dtime); #else |