[dss-commits] r8767 - dss/trunk/core/scripting

dss-commits at forum.digitalstrom.org dss-commits at forum.digitalstrom.org
Wed Sep 16 17:46:04 CEST 2009


Author: pstaehlin
Date: 2009-09-16 17:46:04 +0200 (Wed, 16 Sep 2009)
New Revision: 8767

Modified:
   dss/trunk/core/scripting/modeljs.cpp
Log:
Compiles again on 64 bit systems

Modified: dss/trunk/core/scripting/modeljs.cpp
===================================================================
--- dss/trunk/core/scripting/modeljs.cpp	2009-09-16 14:29:05 UTC (rev 8766)
+++ dss/trunk/core/scripting/modeljs.cpp	2009-09-16 15:46:04 UTC (rev 8767)
@@ -1020,7 +1020,7 @@
   } // createJSProperty
 
   std::string PropertyScriptExtension::produceListenerID() {
-    return "listener_" + intToString(int(this), true) + "_" + intToString(m_NextListenerID++);
+    return "listener_" + intToString(long(this), true) + "_" + intToString(m_NextListenerID++);
   } // produceListenerID
 
   void PropertyScriptExtension::addListener(PropertyScriptListener* _pListener) {



More information about the dss-commits mailing list