From: <tr...@us...> - 2009-03-25 13:30:01
|
Revision: 19529 http://bzflag.svn.sourceforge.net/bzflag/?rev=19529&view=rev Author: trepan Date: 2009-03-25 13:29:47 +0000 (Wed, 25 Mar 2009) Log Message: ----------- * simplify ;-) Modified Paths: -------------- trunk/bzflag/src/net/Pack.cxx Modified: trunk/bzflag/src/net/Pack.cxx =================================================================== --- trunk/bzflag/src/net/Pack.cxx 2009-03-25 13:26:59 UTC (rev 19528) +++ trunk/bzflag/src/net/Pack.cxx 2009-03-25 13:29:47 UTC (rev 19529) @@ -298,7 +298,7 @@ if (ErrorChecking) { if (Length < sizeof(int64_t)) { Error = true; - v = (int64_t) 0.0f; + v = 0; return b; } else { Length -= sizeof(int64_t); @@ -316,7 +316,7 @@ if (ErrorChecking) { if (Length < sizeof(uint64_t)) { Error = true; - v = (uint64_t) 0.0f; + v = 0; return b; } else { Length -= sizeof(uint64_t); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |