mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Minor compiler warning fix.
This commit is contained in:
parent
3027e5168f
commit
b1d30ba82a
1 changed files with 2 additions and 2 deletions
|
|
@ -1012,12 +1012,12 @@ void BigInteger::loadFromMemoryBlock (const MemoryBlock& data)
|
|||
values.malloc (numValues + 1);
|
||||
|
||||
for (int i = 0; i < (int) numValues - 1; ++i)
|
||||
values[i] = (uint32) ByteOrder::littleEndianInt (addBytesToPointer (data.getData(), sizeof (uint32) * i));
|
||||
values[i] = (uint32) ByteOrder::littleEndianInt (addBytesToPointer (data.getData(), sizeof (uint32) * (size_t) i));
|
||||
|
||||
values[numValues - 1] = 0;
|
||||
values[numValues] = 0;
|
||||
|
||||
for (int i = (int) (numBytes & ~3); i < (int) numBytes; ++i)
|
||||
for (int i = (int) (numBytes & ~3u); i < (int) numBytes; ++i)
|
||||
this->setBitRangeAsInt (i << 3, 8, (uint32) data [i]);
|
||||
|
||||
highestBit = (int) numBytes * 8;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue