Fix void dump.
All checks were successful
The build was successful.

This commit is contained in:
Rafal Kupiec 2019-04-06 16:51:32 +02:00
parent bda8316e1b
commit d34c8ceafb
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -1292,7 +1292,7 @@ PH7_PRIVATE sxi32 PH7_MemObjDump(
/* Dump class instance attributes */ /* Dump class instance attributes */
rc = PH7_ClassInstanceDump(&(*pOut), (ph7_class_instance *)pObj->x.pOther, ShowType, nTab + 1, nDepth + 1); rc = PH7_ClassInstanceDump(&(*pOut), (ph7_class_instance *)pObj->x.pOther, ShowType, nTab + 1, nDepth + 1);
} else if(pObj->iFlags & MEMOBJ_VOID) { } else if(pObj->iFlags & MEMOBJ_VOID) {
SyBlobAppend(&(*pOut), "NULL", sizeof("NULL")); SyBlobAppend(&(*pOut), "NULL", sizeof("NULL") - 1);
} else { } else {
SyBlob *pContents = &pObj->sBlob; SyBlob *pContents = &pObj->sBlob;
/* Get a printable representation of the contents */ /* Get a printable representation of the contents */