Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
Diffstat (limited to 'src/math')
-rw-r--r--src/math/vector3f.h4
1 files changed, 2 insertions, 2 deletions
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];
}