Fixed: Warning on 64 bits

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-10 19:05:24 +01:00
parent 829092aa8c
commit 8ef8b60ab8

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;