mirror of
https://github.com/corda/corda.git
synced 2025-01-09 06:23:04 +00:00
fix GCC 3.4 build
This commit is contained in:
parent
398f861768
commit
168e206812
@ -2156,7 +2156,8 @@ class MemorySite: public Site {
|
|||||||
|
|
||||||
virtual SiteMask mask(Context* c) {
|
virtual SiteMask mask(Context* c) {
|
||||||
return SiteMask(1 << MemoryOperand, 0, (base == c->arch->stack())
|
return SiteMask(1 << MemoryOperand, 0, (base == c->arch->stack())
|
||||||
? offsetToFrameIndex(c, offset) : NoFrameIndex);
|
? static_cast<int>(offsetToFrameIndex(c, offset))
|
||||||
|
: NoFrameIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual SiteMask nextWordMask(Context* c, unsigned index) {
|
virtual SiteMask nextWordMask(Context* c, unsigned index) {
|
||||||
|
Loading…
Reference in New Issue
Block a user