Fixed linux build
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40769
This commit is contained in:
parent
4ae67c9213
commit
1274c0b8bd
@ -231,7 +231,7 @@ int BaseContext::Execute(uint32_t code_addr, cell_t *result)
|
||||
//:TODO: debug code for leak detection, remove before the release?
|
||||
if (err == SP_ERROR_NONE)
|
||||
{
|
||||
if ((ctx->sp - pushcount * sizeof(cell_t)) != save_sp)
|
||||
if ((ctx->sp - (cell_t)(pushcount * sizeof(cell_t))) != save_sp)
|
||||
{
|
||||
const char *name;
|
||||
ctx->context->GetDebugInfo()->LookupFunction(code_addr, &name);
|
||||
|
Loading…
Reference in New Issue
Block a user