summaryrefslogtreecommitdiff
path: root/src/win95/chnktype.cpp
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2001-12-18 02:23:39 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:37 +0200
commit95b8b49b7602e4e2d3cd9e38273fa94451bec780 (patch)
tree2680f7beffc79957bb057cb018d4d7bc5c8ff2a3 /src/win95/chnktype.cpp
parentabab1011ac9f80ca3b734bd70415ff255965441b (diff)
More Warning cleanups (Tim Beckmann)
Diffstat (limited to 'src/win95/chnktype.cpp')
-rw-r--r--src/win95/chnktype.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/win95/chnktype.cpp b/src/win95/chnktype.cpp
index d09728e..754dc7d 100644
--- a/src/win95/chnktype.cpp
+++ b/src/win95/chnktype.cpp
@@ -179,9 +179,9 @@ ChunkVector& ChunkVector::operator-=(const ChunkVector& a)
ChunkVector::operator VECTORCH () const
{
VECTORCH v;
- v.vx = x;
- v.vy = y;
- v.vz = z;
+ v.vx = (int)x;
+ v.vy = (int)y;
+ v.vz = (int)z;
return(v);
}