src/types.cpp

changeset 498
791c831c8020
parent 497
c51941e590b6
child 504
6a1fa662bfc1
--- a/src/types.cpp	Sat Oct 05 12:51:13 2013 +0300
+++ b/src/types.cpp	Sat Oct 05 15:18:47 2013 +0300
@@ -103,11 +103,11 @@
 // =============================================================================
 // -----------------------------------------------------------------------------
 double& vertex::operator[] (const Axis ax)
-{	return coord ( (ushort) ax);
+{	return coord ( (int) ax);
 }
 
 const double& vertex::operator[] (const Axis ax) const
-{	return coord ( (ushort) ax);
+{	return coord ( (int) ax);
 }
 
 double& vertex::operator[] (const int ax)

mercurial