fix GCC 3.4 build

This commit is contained in:
Joel Dice 2009-12-01 17:33:30 -07:00
parent 398f861768
commit 168e206812

View File

@ -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) {