From 950e623eba7b22c01bb8dcb140befec9be0bb02f Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 19 Jan 2012 21:37:00 +0000 Subject: Fixed 32/64 bit issue --- src/plugger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugger.h b/src/plugger.h index 2ba7b4b..c22f964 100644 --- a/src/plugger.h +++ b/src/plugger.h @@ -247,7 +247,7 @@ namespace Bu void destroy( T *pPlug ) { - PluginReg *pReg = (PluginReg *)hObj.get((int)pPlug); + PluginReg *pReg = (PluginReg *)hObj.get((ptrdiff_t)pPlug); //printf("pReg: %08X, pPlug: %08X\n", pReg, pPlug ); if( pReg == NULL ) return; -- cgit v1.2.3