Fix void dump.
The build was successful. Details

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
1 changed files with 1 additions and 1 deletions

View File

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