changeset 14582:28cd7c1de424 draft

(svn r19158) -Fix (r19149): MSVC 64 bits compile warning
author rubidium <rubidium@openttd.org>
date Thu, 18 Feb 2010 01:10:04 +0000
parents 3a7b29c8e7c7
children 6ed0c3e19456
files src/string.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -253,7 +253,7 @@
 	/* The buffer is too small for _vsnprintf to write the
 	 * null-terminator at its end and return size. */
 	str[size - 1] = '\0';
-	return size;
+	return (int)size;
 }
 #endif /* _MSC_VER */