aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2014-10-09 11:40:33 +0200
committerKahrl <kahrl@gmx.net>2014-10-09 11:40:33 +0200
commitd1ccc64e1ecfd00df36d2b8a8b3420b70434fefd (patch)
treeee253fd822a6e2c03a1299f2ba72ec8b2db62e35
parent26495da94a68cf787135fee4915b03f4a91d9e03 (diff)
downloadminetest-d1ccc64e1ecfd00df36d2b8a8b3420b70434fefd.tar.gz
minetest-d1ccc64e1ecfd00df36d2b8a8b3420b70434fefd.tar.bz2
minetest-d1ccc64e1ecfd00df36d2b8a8b3420b70434fefd.zip
Make sure PRECISION_SECONDS corresponds to the integer 0
-rw-r--r--src/gettime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gettime.h b/src/gettime.h
index cde1471e5..2a6a211b8 100644
--- a/src/gettime.h
+++ b/src/gettime.h
@@ -32,7 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
Server build: servermain.cpp
*/
enum TimePrecision {
- PRECISION_SECONDS,
+ PRECISION_SECONDS = 0,
PRECISION_MILLI,
PRECISION_MICRO,
PRECISION_NANO