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