[macruby-changes] [1004] MacRuby/branches/experimental/roxor.cpp

source_changes at macosforge.org source_changes at macosforge.org
Thu Mar 19 21:29:33 PDT 2009


Revision: 1004
          http://trac.macosforge.org/projects/ruby/changeset/1004
Author:   vincent.isambart at gmail.com
Date:     2009-03-19 21:29:33 -0700 (Thu, 19 Mar 2009)
Log Message:
-----------
Int32 is int not long as we are working in both 32 and 64 bits

Modified Paths:
--------------
    MacRuby/branches/experimental/roxor.cpp

Modified: MacRuby/branches/experimental/roxor.cpp
===================================================================
--- MacRuby/branches/experimental/roxor.cpp	2009-03-20 04:27:22 UTC (rev 1003)
+++ MacRuby/branches/experimental/roxor.cpp	2009-03-20 04:29:33 UTC (rev 1004)
@@ -956,7 +956,7 @@
     params.push_back(compile_const_pointer(current_block_node));
     params.push_back(current_self);
 
-    params.push_back(ConstantInt::get(Type::Int32Ty, (long)dvars.size()));
+    params.push_back(ConstantInt::get(Type::Int32Ty, (int)dvars.size()));
 
     std::map<ID, Value *>::iterator iter = dvars.begin();
     while (iter != dvars.end()) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090319/2628cb74/attachment.html>


More information about the macruby-changes mailing list