Utils/EventChain.h

changeset 355
0b7f662779ba
parent 353
1a1ae79f8c64
child 681
939b9d20d986
--- a/Utils/EventChain.h	Sun Oct 27 20:27:34 2013 +0000
+++ b/Utils/EventChain.h	Fri Nov 01 15:03:41 2013 +0000
@@ -842,7 +842,7 @@
 		Token AddHandler(prvt::eventchain::EventHandler<P_, O_> *object) {
 			events.Add(object);
 
-			return reinterpret_cast<std::intptr_t>(object);
+			return reinterpret_cast<Token>(object);
 
 		}
 

mercurial