From 8ef8b60ab828647c503097c48e85b8ff2c84f36c Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 10 Dec 2016 19:05:24 +0100 Subject: [PATCH] Fixed: Warning on 64 bits --HG-- branch : develop --- code/nel/tools/3d/plugin_max/nel_patch_lib/rpo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/tools/3d/plugin_max/nel_patch_lib/rpo.cpp b/code/nel/tools/3d/plugin_max/nel_patch_lib/rpo.cpp index 3f2363a16..9216d4155 100644 --- a/code/nel/tools/3d/plugin_max/nel_patch_lib/rpo.cpp +++ b/code/nel/tools/3d/plugin_max/nel_patch_lib/rpo.cpp @@ -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;