Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1791 for code/trunk/src/core


Ignore:
Timestamp:
Sep 16, 2008, 3:46:25 AM (16 years ago)
Author:
landauf
Message:

added comments to all my classes in util

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/ConfigValueContainer.cc

    r1784 r1791  
    4545namespace orxonox
    4646{
    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 argument
     47    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
    4848
    4949    /**
     
    304304            success = ConvertValue(&index, token[0]);
    305305
    306         if (!success || index < 0 || index > MAX_VECTOR_INDEX)
     306        if (!success || index < 0 || index > (signed int)MAX_VECTOR_INDEX)
    307307        {
    308308            if (!success)
Note: See TracChangeset for help on using the changeset viewer.