drop unnecessary cast
This commit is contained in:
parent
98d7b2d7f8
commit
2a20217c46
@ -438,8 +438,8 @@ int
|
|||||||
Yap_ExtendWorkSpace(Int s)
|
Yap_ExtendWorkSpace(Int s)
|
||||||
{
|
{
|
||||||
CACHE_REGS
|
CACHE_REGS
|
||||||
void *basebp = (void *)LOCAL_GlobalBase, *nbp;
|
void *basebp = LOCAL_GlobalBase, *nbp;
|
||||||
UInt s0 = (char *)LOCAL_TrailTop-(char *)LOCAL_GlobalBase;
|
UInt s0 = LOCAL_TrailTop- LOCAL_GlobalBase;
|
||||||
nbp = realloc(basebp, s+s0);
|
nbp = realloc(basebp, s+s0);
|
||||||
if (nbp == NULL)
|
if (nbp == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Reference in New Issue
Block a user