diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-01-19 21:37:00 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-01-19 21:37:00 +0000 |
commit | 950e623eba7b22c01bb8dcb140befec9be0bb02f (patch) | |
tree | 369c644c39df79486399c93e2daba0a78092e425 | |
parent | 85524a0050459146e6ffbce74f998cb789ed48b5 (diff) | |
download | libbu++-950e623eba7b22c01bb8dcb140befec9be0bb02f.tar.gz libbu++-950e623eba7b22c01bb8dcb140befec9be0bb02f.tar.bz2 libbu++-950e623eba7b22c01bb8dcb140befec9be0bb02f.tar.xz libbu++-950e623eba7b22c01bb8dcb140befec9be0bb02f.zip |
Fixed 32/64 bit issue
-rw-r--r-- | src/plugger.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
247 | 247 | ||
248 | void destroy( T *pPlug ) | 248 | void destroy( T *pPlug ) |
249 | { | 249 | { |
250 | PluginReg *pReg = (PluginReg *)hObj.get((int)pPlug); | 250 | PluginReg *pReg = (PluginReg *)hObj.get((ptrdiff_t)pPlug); |
251 | //printf("pReg: %08X, pPlug: %08X\n", pReg, pPlug ); | 251 | //printf("pReg: %08X, pPlug: %08X\n", pReg, pPlug ); |
252 | if( pReg == NULL ) | 252 | if( pReg == NULL ) |
253 | return; | 253 | return; |