Don't try to get an integer representation of float.
All checks were successful
The build was successful.
All checks were successful
The build was successful.
This commit is contained in:
parent
9ee0f1954c
commit
ac8b8b0fdb
@ -376,8 +376,6 @@ PH7_PRIVATE sxi32 PH7_MemObjToReal(ph7_value *pObj) {
|
|||||||
/* Invalidate any prior representations */
|
/* Invalidate any prior representations */
|
||||||
SyBlobRelease(&pObj->sBlob);
|
SyBlobRelease(&pObj->sBlob);
|
||||||
MemObjSetType(pObj, MEMOBJ_REAL);
|
MemObjSetType(pObj, MEMOBJ_REAL);
|
||||||
/* Try to get an integer representation */
|
|
||||||
MemObjTryIntger(&(*pObj));
|
|
||||||
}
|
}
|
||||||
return SXRET_OK;
|
return SXRET_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user