Changeset 1791 for code/trunk/src/core
- Timestamp:
- Sep 16, 2008, 3:46:25 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/ConfigValueContainer.cc
r1784 r1791 45 45 namespace orxonox 46 46 { 47 const int MAX_VECTOR_INDEX = 255; // to avoid up to 4*10^9 vector entries in the config file after accidentally using a wrong argument47 const unsigned int MAX_VECTOR_INDEX = 255; // to avoid up to 4*10^9 vector entries in the config file after accidentally using a wrong argument 48 48 49 49 /** … … 304 304 success = ConvertValue(&index, token[0]); 305 305 306 if (!success || index < 0 || index > MAX_VECTOR_INDEX)306 if (!success || index < 0 || index > (signed int)MAX_VECTOR_INDEX) 307 307 { 308 308 if (!success)
Note: See TracChangeset
for help on using the changeset viewer.