mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +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) {
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user