diff options
author | dos-reis <gdr@axiomatics.org> | 2014-08-17 09:15:57 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2014-08-17 09:15:57 +0000 |
commit | c50f5cd58337e96609479484c2cfd7fcd80db182 (patch) | |
tree | c7bda8ed377403803910cdc3ffddc1cab8b1cd49 /src/rt/vm.cc | |
parent | 92de8ff340378dbd50678babe98ac8a5ffd8bc9c (diff) | |
download | open-axiom-c50f5cd58337e96609479484c2cfd7fcd80db182.tar.gz |
OpenAxiom::VM::Fixnum is now a distinct type.
Diffstat (limited to 'src/rt/vm.cc')
-rw-r--r-- | src/rt/vm.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/vm.cc b/src/rt/vm.cc index 2fe4da1c..a0f4f2e3 100644 --- a/src/rt/vm.cc +++ b/src/rt/vm.cc @@ -44,10 +44,10 @@ namespace OpenAxiom { Fixnum count_nodes(Pair p) { - Fixnum n = 1; + FixnumBits n = 1; for (; auto q = to_pair_if_can(p->tail); p = q) ++n; - return n; + return Fixnum(n); } // -- BasicContext -- |