summaryrefslogtreecommitdiff
path: root/src/core/math_func.hpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-04-12 14:12:47 +0000
committersmatz <smatz@openttd.org>2010-04-12 14:12:47 +0000
commit0ef33548c20ae9cf73a6e9e850b17137b1453dd3 (patch)
tree90774f16ecabdadb1786b8e79cf2fa7c0ddedb8f /src/core/math_func.hpp
parent24a60b77ece2fabd866d0a6f4e3ecda3f2d52ea2 (diff)
downloadopenttd-0ef33548c20ae9cf73a6e9e850b17137b1453dd3.tar.xz
(svn r19614) -Codechange: "it's" => "its" where appropriate
Diffstat (limited to 'src/core/math_func.hpp')
-rw-r--r--src/core/math_func.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/math_func.hpp b/src/core/math_func.hpp
index e0b9dbc89..d57a3a511 100644
--- a/src/core/math_func.hpp
+++ b/src/core/math_func.hpp
@@ -226,10 +226,10 @@ static FORCEINLINE int32 ClampToI32(const int64 a)
*/
static FORCEINLINE uint16 ClampToU16(const uint64 a)
{
- /* MSVC thinks, in it's infinite wisdom, that int min(int, int) is a better
+ /* MSVC thinks, in its infinite wisdom, that int min(int, int) is a better
* match for min(uint64, uint) than uint64 min(uint64, uint64). As such we
- * need to cast the UINT16_MAX to prevent MSVC from displaying it's
- * infinite with loads of warnings. */
+ * need to cast the UINT16_MAX to prevent MSVC from displaying its
+ * infinite loads of warnings. */
return (uint16)min<uint64>(a, (uint64)UINT16_MAX);
}