Fixed: Warning on 64 bits

This commit is contained in:
kervala 2016-12-10 19:05:24 +01:00
parent b1b13aedb8
commit e387a1c31f

View file

@ -117,7 +117,7 @@ RPO::RPO(PatchObject& pPO) : PatchObject(pPO)
RPO::~RPO()
{
if (((~GetChannelLocks()))&PART_TOPO)
if ( (~((PartID)GetChannelLocks())) & PART_TOPO )
{
delete rpatch;
rpatch=NULL;