summaryrefslogtreecommitdiffstats
path: root/src/OSSupport
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-28 16:28:55 +0100
committermadmaxoft <github@xoft.cz>2014-01-28 16:28:55 +0100
commit76457d367338b603808b7821036cf9edc6f95afb (patch)
tree17b93357b910f084d021c5e7d824ebf44abf1b59 /src/OSSupport
parentFixed a slight bug in RSA encryption code. (diff)
downloadcuberite-76457d367338b603808b7821036cf9edc6f95afb.tar
cuberite-76457d367338b603808b7821036cf9edc6f95afb.tar.gz
cuberite-76457d367338b603808b7821036cf9edc6f95afb.tar.bz2
cuberite-76457d367338b603808b7821036cf9edc6f95afb.tar.lz
cuberite-76457d367338b603808b7821036cf9edc6f95afb.tar.xz
cuberite-76457d367338b603808b7821036cf9edc6f95afb.tar.zst
cuberite-76457d367338b603808b7821036cf9edc6f95afb.zip
Diffstat (limited to 'src/OSSupport')
-rw-r--r--src/OSSupport/Timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OSSupport/Timer.cpp b/src/OSSupport/Timer.cpp
index ed16f9e3a..fd838dd0d 100644
--- a/src/OSSupport/Timer.cpp
+++ b/src/OSSupport/Timer.cpp
@@ -28,7 +28,7 @@ long long cTimer::GetNowTime(void)
#else
struct timeval now;
gettimeofday(&now, NULL);
- return (long long)(now.tv_sec * 1000 + now.tv_usec / 1000);
+ return (long long)now.tv_sec * 1000 + (long long)now.tv_usec / 1000;
#endif
}