From 06dc96b062953e6b274c6d483a2ac1bc9d740e1f Mon Sep 17 00:00:00 2001 From: Christoph Oelckers <c.oelckers@zdoom.fake> Date: Fri, 8 Apr 2016 14:21:20 +0200 Subject: [PATCH] - removed 64 bit warnings. --- src/farchive.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/farchive.cpp b/src/farchive.cpp index 1780f862a6..477d227186 100644 --- a/src/farchive.cpp +++ b/src/farchive.cpp @@ -859,8 +859,8 @@ void FArchive::WriteString(const FString &str) { // The count includes the '\0' terminator, but we don't // actually write it out. - WriteCount(str.Len() + 1); - Write(str, str.Len()); + WriteCount(DWORD(str.Len() + 1)); + Write(str, DWORD(str.Len())); } FArchive &FArchive::operator<< (char *&str)