summaryrefslogtreecommitdiff
path: root/src/win95/chnktype.cpp
diff options
context:
space:
mode:
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);
}