|
From: <jef...@us...> - 2013-05-28 17:43:42
|
Revision: 22777
http://sourceforge.net/p/bzflag/code/22777
Author: jeffm2501
Date: 2013-05-28 17:43:39 +0000 (Tue, 28 May 2013)
Log Message:
-----------
cast to remove warning.
Modified Paths:
--------------
trunk/bzflag/src/bzflag/playing.cxx
Modified: trunk/bzflag/src/bzflag/playing.cxx
===================================================================
--- trunk/bzflag/src/bzflag/playing.cxx 2013-05-28 16:35:21 UTC (rev 22776)
+++ trunk/bzflag/src/bzflag/playing.cxx 2013-05-28 17:43:39 UTC (rev 22777)
@@ -1565,7 +1565,7 @@
// get the world size
cachedWorld->seekg(0, std::ios::end);
std::streampos size = cachedWorld->tellg();
- unsigned long charSize = std::streamoff(size);
+ unsigned long charSize = (unsigned long)std::streamoff(size);
// load the cached world
cachedWorld->seekg(0);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|