summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-18 22:36:17 +0200
committermadmaxoft <github@xoft.cz>2014-05-18 22:36:31 +0200
commite09a04a23aaa14598bff6692393f4187f59d3824 (patch)
tree6ad5362eaf050d1cf58fd7f4b660a0206f01e2b9 /src
parentMerge pull request #998 from mc-server/StatManager (diff)
downloadcuberite-e09a04a23aaa14598bff6692393f4187f59d3824.tar
cuberite-e09a04a23aaa14598bff6692393f4187f59d3824.tar.gz
cuberite-e09a04a23aaa14598bff6692393f4187f59d3824.tar.bz2
cuberite-e09a04a23aaa14598bff6692393f4187f59d3824.tar.lz
cuberite-e09a04a23aaa14598bff6692393f4187f59d3824.tar.xz
cuberite-e09a04a23aaa14598bff6692393f4187f59d3824.tar.zst
cuberite-e09a04a23aaa14598bff6692393f4187f59d3824.zip
Diffstat (limited to '')
-rw-r--r--src/Defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Defines.h b/src/Defines.h
index b0b209934..563fc308c 100644
--- a/src/Defines.h
+++ b/src/Defines.h
@@ -529,7 +529,7 @@ inline float GetSpecialSignf( float a_Val )
-template<class T> inline int Diff(T a_Val1, T a_Val2)
+template<class T> inline T Diff(T a_Val1, T a_Val2)
{
return std::abs(a_Val1 - a_Val2);
}