Allow to assign any value if data type is not specified.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
d4d00db458
commit
8d3b7f303f
|
@ -386,7 +386,7 @@ PH7_PRIVATE sxi32 PH7_CheckVarCompat(ph7_value *pObj, int nType) {
|
||||||
* destination are of the compatible data types.
|
* destination are of the compatible data types.
|
||||||
*/
|
*/
|
||||||
PH7_PRIVATE sxi32 PH7_MemObjSafeStore(ph7_value *pSrc, ph7_value *pDest) {
|
PH7_PRIVATE sxi32 PH7_MemObjSafeStore(ph7_value *pSrc, ph7_value *pDest) {
|
||||||
if(pDest->iFlags == pSrc->iFlags) {
|
if(pDest->iFlags == 0 || pDest->iFlags == pSrc->iFlags) {
|
||||||
PH7_MemObjStore(pSrc, pDest);
|
PH7_MemObjStore(pSrc, pDest);
|
||||||
} else if(pDest->iFlags & MEMOBJ_MIXED) {
|
} else if(pDest->iFlags & MEMOBJ_MIXED) {
|
||||||
if(pDest->iFlags & MEMOBJ_HASHMAP) {
|
if(pDest->iFlags & MEMOBJ_HASHMAP) {
|
||||||
|
|
Loading…
Reference in New Issue