Commit in lcio/src/cpp/src/UTIL on MAIN | |||
BitField64.cc | +1 | -1 | 1.4 -> 1.5 |
removed check of unsigned against 0 (https://coverity.cern.ch/sourcebrowser.htm?projectId=10017#mergedDefectId=24613&streamDefectId=28416&defectInstanceId=364714132&fileInstanceId=717713604)
diff -u -r1.4 -r1.5 --- BitField64.cc 28 May 2008 14:02:09 -0000 1.4 +++ BitField64.cc 12 Mar 2011 16:21:05 -0000 1.5 @@ -20,7 +20,7 @@
_isSigned( signedWidth < 0 ) { // sanity check
- if( offset < 0 || offset > 63 || offset+_width > 64 ) {
+ if( offset > 63 || offset+_width > 64 ) {
std::stringstream s ; s << " BitFieldValue: out of range - offset : "