Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-05-01 16:02:51 +0000
committerStijn Buys <ingar@osirion.org>2008-05-01 16:02:51 +0000
commit4e5343ce9aa83a5c0b04bf744dd287fb56ff39fc (patch)
tree2f5944d3426529a973e78137f8ce5a9a29a7c54f /src/math
parentf5266b403c50cb2b6d712e6d8f41b62ad2433efb (diff)
various silly fixes
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];
}