Ignore:
Timestamp:
05/30/12 17:32:31 (12 years ago)
Author:
tbretz
Message:
Added two lost const qulifiers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/checksum.h

    r13987 r13988  
    9595        };
    9696
    97         uint32_t value = complm ? ~val() : val();   // complement each bit of the value
     97        const uint32_t value = complm ? ~val() : val();   // complement each bit of the value
    9898
    9999        for (int ii = 0; ii < 4; ii++)
     
    131131        }
    132132
    133         char lastChar = rc[15];
     133        const char lastChar = rc[15];
    134134        for (int i=15;i>0;i--)
    135135            rc[i] = rc[i-1];
Note: See TracChangeset for help on using the changeset viewer.