public
Description: Rubinius, the Ruby VM
Homepage: http://rubini.us
Clone URL: git://github.com/evanphx/rubinius.git
fix error using constructor size_t() when compiling on Ubuntu Feisty

Signed-off-by: Eero Saynatkari <esaynatkari@engineyard.com>
huy (author)
Wed Sep 03 18:05:44 -0700 2008
rue (committer)
Fri Sep 05 15:07:45 -0700 2008
commit  7f133030663b22ebfbc28adb5bfd8bef8a418d23
tree    597a24bd596dea45e83cdc216d4de8ad3473b775
parent  9a1fca2b6b7f08a6fef72dd7c663a6518c83a25e
...
96
97
98
99
 
100
101
102
103
104
 
105
106
107
...
96
97
98
 
99
100
101
102
103
 
104
105
106
107
0
@@ -96,12 +96,12 @@ namespace rubinius {
0
     size_t block;
0
 
0
     Opcode(opcode op, int o1 = -1, int o2 = -1) :
0
-      op(op), args(0), arg1(o1), arg2(o2), start_block(false), block(NULL) {
0
+      op(op), args(0), arg1(o1), arg2(o2), start_block(false), block(0) {
0
         if(o1 >= 0) args++;
0
         if(o2 >= 0) args++;
0
       }
0
 
0
-    Opcode(VMMethod::Iterator& iter) : start_block(false), block(NULL) {
0
+    Opcode(VMMethod::Iterator& iter) : start_block(false), block(0) {
0
       op = iter.op();
0
       args = iter.args();
0
 

Comments