Fixed linux build

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40769
This commit is contained in:
Scott Ehlert 2007-05-11 20:00:29 +00:00
parent 4ae67c9213
commit 1274c0b8bd

View File

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