public
Description: Rubinius, the Ruby VM
Homepage: http://rubini.us
Clone URL: git://github.com/evanphx/rubinius.git
fixed unsigned int compiler warning in fixnum tests
dgtized (author)
Fri May 30 15:21:47 -0700 2008
commit  d14b845521533877b4f81a25a9e513fa3039e070
tree    e39c3bc91a48793f0e6e7697ea65a0e0f151feca
parent  0082f196832066b9716568225ee55741630d3185
...
382
383
384
385
 
 
386
387
388
...
382
383
384
 
385
386
387
388
389
0
@@ -382,7 +382,8 @@ class TestFixnum : public CxxTest::TestSuite {
0
   }
0
 
0
   void test_size() {
0
- TS_ASSERT_EQUALS(Object::i2n(0)->size(state)->n2i(), sizeof(native_int));
0
+ TS_ASSERT_EQUALS(static_cast<unsigned int>(Object::i2n(0)->size(state)->n2i()),
0
+ sizeof(native_int));
0
   }
0
 
0
   void test_and() {

Comments

    No one has commented yet.