Fixed VS2010 Warning C4334: '<<' : result of 32-bit shift implicitly

converted to 64 bits.
This commit is contained in:
Donald Alan Morrison 2012-08-24 09:22:02 -07:00
parent 2b4bab18af
commit ee9f3d09a8
1 changed files with 2 additions and 2 deletions

View File

@ -196,10 +196,10 @@ int CCBReader::readInt(bool pSigned) {
long long current = 0;
for(int a = numBits - 1; a >= 0; a--) {
if(this->getBit()) {
current |= 1 << a;
current |= 1LL << a;
}
}
current |= 1 << numBits;
current |= 1LL << numBits;
int num;
if(pSigned) {