From a4a418a679f1ac760a8763edd856f0178cfc6dde Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 25 May 2012 07:18:52 +0000 Subject: Merged the composable_generator branch into the trunk git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/FastNBT.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/FastNBT.h') diff --git a/source/FastNBT.h b/source/FastNBT.h index a0fe7a863..f38bfcdbd 100644 --- a/source/FastNBT.h +++ b/source/FastNBT.h @@ -259,7 +259,7 @@ protected: { // Compound: add the type and name: m_Result.push_back((char)a_Type); - WriteString(a_Name.c_str(), a_Name.length()); + WriteString(a_Name.c_str(), (short)a_Name.length()); } else { -- cgit v1.2.3