From 4e5343ce9aa83a5c0b04bf744dd287fb56ff39fc Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 1 May 2008 16:02:51 +0000 Subject: various silly fixes --- src/math/vector3f.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/math') diff --git a/src/math/vector3f.h b/src/math/vector3f.h index 1b4028f..25fcbff 100644 --- a/src/math/vector3f.h +++ b/src/math/vector3f.h @@ -93,7 +93,7 @@ public: /*! WARNING: range is not checked * @param index the index of the element to assign to ( 0 <= index < 3 ) */ - inline float& operator[](const unsigned int index) { + inline float& operator[](const size_t index) { return coord[index]; } @@ -101,7 +101,7 @@ public: /*! WARNING: range is not checked * @param index the index of the element to return ( 0 <= index < 3 ) */ - inline float operator[](const unsigned int index) const { + inline float operator[](const size_t index) const { return coord[index]; } -- cgit v1.2.3