if (! (theSource >> aDeltaValue))
return Standard_False;
else
- aDelta = (Standard_Boolean)aDeltaValue;
+ aDelta = (aDeltaValue != 0);
}
#ifdef OCCT_DEBUG
else if(BinMDataStd::DocumentVersion() == -1)
theTarget << aFirstInd << aLastInd;
Standard_Integer *aPtr = (Standard_Integer *) &aSourceArray(aFirstInd);
theTarget.PutIntArray (aPtr, aLength);
- theTarget << (Standard_Byte)anAtt->GetDelta();
+ theTarget << (Standard_Byte)(anAtt->GetDelta() ? 1 : 0);
}