Fixed fpermisive cast in EventChain 3.x-stable

Sat, 11 Apr 2015 15:07:18 +0300

author
kandemir <kandemir@airpost.net>
date
Sat, 11 Apr 2015 15:07:18 +0300
branch
3.x-stable
changeset 681
939b9d20d986
parent 385
d124d6e9b824

Fixed fpermisive cast in EventChain

Utils/EventChain.h file | annotate | diff | comparison | revisions
--- a/Utils/EventChain.h	Mon Feb 24 15:25:56 2014 +0200
+++ b/Utils/EventChain.h	Sat Apr 11 15:07:18 2015 +0300
@@ -42,7 +42,7 @@
 #include "Collection.h"
 #include "UtilsBase.h"
 #include "Any.h"
-
+#include <stdint.h>
 
 
 namespace gge { namespace utils {
@@ -591,7 +591,7 @@
 		template<class O2_, class P2_> friend class EventChain;
 	public:
 
-		typedef int Token;
+		typedef intptr_t Token;
 
 		////Constructor
 		///@Name	: Name of the event

mercurial