mirror of https://github.com/axmolengine/axmol.git
Fixed VS2010 Warning C4334: '<<' : result of 32-bit shift implicitly
converted to 64 bits.
This commit is contained in:
parent
2b4bab18af
commit
ee9f3d09a8
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue