diff options
author | Kahrl <kahrl@gmx.net> | 2014-10-09 11:40:33 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2014-10-09 11:40:33 +0200 |
commit | d1ccc64e1ecfd00df36d2b8a8b3420b70434fefd (patch) | |
tree | ee253fd822a6e2c03a1299f2ba72ec8b2db62e35 /src/gettime.h | |
parent | 26495da94a68cf787135fee4915b03f4a91d9e03 (diff) | |
download | minetest-d1ccc64e1ecfd00df36d2b8a8b3420b70434fefd.tar.gz minetest-d1ccc64e1ecfd00df36d2b8a8b3420b70434fefd.tar.bz2 minetest-d1ccc64e1ecfd00df36d2b8a8b3420b70434fefd.zip |
Make sure PRECISION_SECONDS corresponds to the integer 0
Diffstat (limited to 'src/gettime.h')
-rw-r--r-- | src/gettime.h | 2 |
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 |