Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 1, 2009, 3:21:28 PM (15 years ago)
Author:
rgrieder
Message:

Found two more unsigned int —> size_t possible 64 bit issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/util/String.cc

    r2171 r2560  
    8484    {
    8585        size_t pos1 = 0;
    86         int pos2 = str.size() - 1;
     86        int pos2 = (int)(str.size() - 1);
    8787        for (; pos1 < str.size() && (str[pos1] == ' ' || str[pos1] == '\t' || str[pos1] == '\n'); pos1++);
    8888        for (; pos2 > 0         && (str[pos2] == ' ' || str[pos2] == '\t' || str[pos2] == '\n'); pos2--);
Note: See TracChangeset for help on using the changeset viewer.