mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
Merge pull request #442 from dicej/master
fix GCC 5.1 compiler warnings/errors
This commit is contained in:
commit
ebd6bb2e6d
@ -1,10 +1,7 @@
|
|||||||
const unsigned NAME(BootMask) = (~static_cast<unsigned>(0))
|
const unsigned NAME(BootMask) = (~static_cast<unsigned>(0))
|
||||||
/ NAME(BytesPerWord);
|
/ NAME(BytesPerWord);
|
||||||
|
|
||||||
const unsigned NAME(BootShift) = 32 - avian::util::log(NAME(BytesPerWord));
|
const unsigned NAME(BootShift) UNUSED = 32 - avian::util::log(NAME(BytesPerWord));
|
||||||
|
|
||||||
const unsigned NAME(BootFlatConstant) = 1 << NAME(BootShift);
|
|
||||||
const unsigned NAME(BootHeapOffset) = 1 << (NAME(BootShift) + 1);
|
|
||||||
|
|
||||||
inline unsigned LABEL(codeMapSize)(unsigned codeSize)
|
inline unsigned LABEL(codeMapSize)(unsigned codeSize)
|
||||||
{
|
{
|
||||||
|
@ -1111,10 +1111,10 @@ class CombineEvent : public Event {
|
|||||||
"%p %p %d : %p %p %d\n",
|
"%p %p %d : %p %p %d\n",
|
||||||
secondValue,
|
secondValue,
|
||||||
secondValue->source,
|
secondValue->source,
|
||||||
secondValue->source->type(c),
|
static_cast<int>(secondValue->source->type(c)),
|
||||||
secondValue->nextWord,
|
secondValue->nextWord,
|
||||||
secondValue->nextWord->source,
|
secondValue->nextWord->source,
|
||||||
secondValue->nextWord->source->type(c));
|
static_cast<int>(secondValue->nextWord->source->type(c)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user